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-07-10 22:16:43 -07:00
2007-10-10 17:30:18 -07:00
2007-10-10 16:53:11 -07:00
2007-07-31 02:28:27 -07:00
2006-12-02 21:22:55 -08:00
2007-10-10 16:53:56 -07:00
2007-07-10 22:15:41 -07:00
2007-10-10 16:51:28 -07:00
2007-10-10 16:54:48 -07:00
2007-10-15 12:26:42 -07:00
2007-10-07 23:44:17 -07:00
2007-07-10 22:19:04 -07:00
2007-07-17 10:23:03 -07:00
2007-10-10 16:51:28 -07:00
2007-10-10 16:52:13 -07:00
2007-06-07 13:40:50 -07:00
2007-10-10 16:47:46 -07:00