Drivers: hv: utils: Remove util transport handler from list if registration fails
authorAlex Ng <alexng@microsoft.com>
Fri, 26 Feb 2016 23:13:20 +0000 (15:13 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 00:57:20 +0000 (16:57 -0800)
commite66853b09017a788dc384dadce9323396dae3293
tree688ec5a79a32f23aad154b8f2d9d34109e0a4985
parentb9830d120cbe155863399f25eaef6aa8353e767f
Drivers: hv: utils: Remove util transport handler from list if registration fails

If util transport fails to initialize for any reason, the list of transport
handlers may become corrupted due to freeing the transport handler without
removing it from the list. Fix this by cleaning it up from the list.

Signed-off-by: Alex Ng <alexng@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_utils_transport.c
This page took 0.024404 seconds and 5 git commands to generate.