Pavel Emelyanov 47e958eac2 [NET]: Fix the race between sk_filter_(de|at)tach and sk_clone()
The proposed fix is to delay the reference counter decrement
until the quiescent state pass. This will give sk_clone() a
chance to get the reference on the cloned filter.

Regular sk_filter_uncharge can happen from the sk_free() only
and there's no need in delaying the put - the socket is dead
anyway and is to be release itself.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-17 21:22:42 -07:00
..
2007-10-17 14:35:15 -05:00
2007-10-10 16:54:48 -07:00
2007-10-17 08:42:49 -07:00
2007-10-15 17:00:19 +02:00
2007-07-16 09:05:45 -07:00
2005-04-16 15:20:36 -07:00