summaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_tunnel.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-10-17 21:22:42 -0700
committerDavid S. Miller <davem@davemloft.net>2007-10-17 21:22:42 -0700
commit47e958eac280c263397582d5581e868c3227a1bd (patch)
tree67fc50a26b7861b3330eae7f1874df851c0ef740 /net/ipv4/xfrm4_tunnel.c
parentd3904b739928edd83d117f1eb5bfa69f18d6f046 (diff)
downloadtalos-op-linux-47e958eac280c263397582d5581e868c3227a1bd.tar.gz
talos-op-linux-47e958eac280c263397582d5581e868c3227a1bd.zip
[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>
Diffstat (limited to 'net/ipv4/xfrm4_tunnel.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud