]> git.kernelconcepts.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 16:03:45 +0000 (09:03 -0700)
commitb133be60ddab3b700ec1e516cc6ec5aac20770e0
tree56ad29805ddd9c7c7a998c26894890fc63f91713
parent89a5feb2d59123824c344665c09328bb9fdb4fe9
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