Re: [PATCH] pppoe: drop pppoe device in pppoe_unbind_sock_work

2015-05-11 Thread David Miller
From: Felix Fietkau n...@openwrt.org Date: Sat, 9 May 2015 23:08:38 +0200 After receiving a PADT and the socket is closed, user space will no longer drop the reference to the pppoe device. This leads to errors like this: [ 488.57] unregister_netdevice: waiting for eth0.2 to become

[PATCH] pppoe: drop pppoe device in pppoe_unbind_sock_work

2015-05-09 Thread Felix Fietkau
After receiving a PADT and the socket is closed, user space will no longer drop the reference to the pppoe device. This leads to errors like this: [ 488.57] unregister_netdevice: waiting for eth0.2 to become free. Usage count = 2 Fixes: 287f3a943fe (pppoe: Use workqueue to die properly