]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
aoe: increase net_device reference count while using it
authorEd Cashin <ecashin@coraid.com>
Fri, 28 Sep 2012 00:22:25 +0000 (10:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Oct 2012 06:51:04 +0000 (16:51 +1000)
commit46e5b029a3dcb4eda25adde2c2c5752658a31248
treec9cffd71bb6d0dd9044628579ac7aff8a7dc4afa
parent366e3a2aa80d7e09f27561970c0e7599f509bac3
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