]> err.no Git - linux-2.6/commit
[NET]: Move the filter releasing into a separate call
authorPavel Emelyanov <xemul@openvz.org>
Thu, 18 Oct 2007 04:21:51 +0000 (21:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2007 04:21:51 +0000 (21:21 -0700)
commit309dd5fc872448e35634d510049642312ebc170d
tree5284d7b48980482ecba06b760ac16d9f94e66ea9
parent55b333253d5bcafbe187b50474e40789301c53c6
[NET]: Move the filter releasing into a separate call

This is done merely as a preparation for the fix.

The sk_filter_uncharge() unaccounts the filter memory and calls
the sk_filter_release(), which in turn decrements the refcount
anf frees the filter.

The latter function will be required separately.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/filter.c
net/core/sock.c