]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
aoe: increase net_device reference count while using it
authorEd Cashin <ecashin@coraid.com>
Wed, 26 Sep 2012 01:35:03 +0000 (11:35 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:29:06 +0000 (17:29 +1000)
commit49d8aefd4a69a41c0c0dc62ea5c58ad004a58532
tree3cba0ef0827a0f2406725677182440116c5a47c5
parentaa20c2a4d1a2118a89815422cc13d0356b6669b8
aoe: increase net_device reference count while using it

This change eliminates the danger that the user could rmmod the driver for
a network interface that is being used for AoE by the aoe driver.

Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/aoe/aoecmd.c
drivers/block/aoe/aoedev.c