summaryrefslogtreecommitdiffstats
path: root/scripts/show_delta
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-10-18 06:22:42 +0200
committerDavid S. Miller <davem@davemloft.net>2007-10-18 06:22:42 +0200
commit47e958eac280c263397582d5581e868c3227a1bd (patch)
tree67fc50a26b7861b3330eae7f1874df851c0ef740 /scripts/show_delta
parent[NET]: Cleanup the error path in sk_attach_filter (diff)
downloadlinux-47e958eac280c263397582d5581e868c3227a1bd.tar.xz
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 'scripts/show_delta')
0 files changed, 0 insertions, 0 deletions