]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: l2tp_eth: fix kernel panic on rmmod l2tp_eth
authorEric Dumazet <edumazet@google.com>
Thu, 7 Jun 2012 00:07:20 +0000 (00:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2012 15:47:36 +0000 (08:47 -0700)
commite99e096f4b388824e49ce5c6568eacf46c94438f
treed7f144d53e2b464357badedcc81d71b8b5b533a7
parent49ffa112f667e1739d8c6352d7f902c8afd45dae
net: l2tp_eth: fix kernel panic on rmmod l2tp_eth

[ Upstream commit a06998b88b1651c5f71c0e35f528bf2057188ead ]

We must prevent module unloading if some devices are still attached to
l2tp_eth driver.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Denys Fedoryshchenko <denys@visp.net.lb>
Tested-by: Denys Fedoryshchenko <denys@visp.net.lb>
Cc: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/l2tp/l2tp_eth.c