]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pppoe: drop PPPOX_ZOMBIEs in pppoe_release
authorXiaodong Xu <stid.smth@gmail.com>
Sat, 22 Sep 2012 00:09:32 +0000 (00:09 +0000)
committerGuangyu Sun <guangyu.sun@oracle.com>
Wed, 17 Oct 2012 18:24:25 +0000 (11:24 -0700)
commit9661675a3200fa565e56dca697148b3cd6125ad0
tree2f02c80feab5065c04cf7dce25276a123f4edf64
parent5019b1769b18eb7899355746b977070a7d871589
pppoe: drop PPPOX_ZOMBIEs in pppoe_release

[ Upstream commit 2b018d57ff18e5405823e5cb59651a5b4d946d7b ]

When PPPOE is running over a virtual ethernet interface (e.g., a
bonding interface) and the user tries to delete the interface in case
the PPPOE state is ZOMBIE, the kernel will loop forever while
unregistering net_device for the reference count is not decreased to
zero which should have been done with dev_put().

Signed-off-by: Xiaodong Xu <stid.smth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
drivers/net/pppoe.c