Re: [PATCH 4/4] PPPOE: Fix device tear-down notification.

2007-04-20 Thread David Miller
From: Michal Ostrowski <[EMAIL PROTECTED]> Date: Tue, 13 Mar 2007 09:09:35 -0500 > pppoe_flush_dev() kicks all sockets bound to a device that is going down. > In doing so, locks must be taken in the right order consistently (sock lock, > followed by the pppoe_hash_lock). However, the scan process

[PATCH 4/4] PPPOE: Fix device tear-down notification.

2007-03-13 Thread Michal Ostrowski
pppoe_flush_dev() kicks all sockets bound to a device that is going down. In doing so, locks must be taken in the right order consistently (sock lock, followed by the pppoe_hash_lock). However, the scan process is based on us holding the sock lock. So, when something is found in the scan we must