]> git.baikalelectronics.ru Git - kernel.git/commit
ntb_netdev: remove from list on exit
authorJon Mason <jon.mason@intel.com>
Thu, 18 Apr 2013 20:36:43 +0000 (13:36 -0700)
committerJon Mason <jon.mason@intel.com>
Wed, 15 May 2013 17:58:14 +0000 (10:58 -0700)
commita0a21c09ae7d0cfb8dd3d636b52bf281533eabe8
tree166b5d3775063b7ceaa243e7fee9d550d2d84a3e
parent0575982a659bec602ce941cfef898a04e247145a
ntb_netdev: remove from list on exit

The ntb_netdev device is not removed from the global list of devices
upon device removal.  If the device is re-added, the removal code would
find the first instance and try to remove an already removed device.

Signed-off-by: Jon Mason <jon.mason@intel.com>
drivers/net/ntb_netdev.c