]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
aoe: increase net_device reference count while using it
authorEd Cashin <ecashin@coraid.com>
Thu, 13 Sep 2012 01:01:35 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Sep 2012 10:46:23 +0000 (20:46 +1000)
commita456abb3b2bd9b7b4c1f9a90f853bc96f622ca66
treededad9902a479059ef9cd474a99cc888b12a75f8
parenta3bb9ef881586c661b11c8c6b2dcbe16f88f33a6
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