]> err.no Git - linux-2.6/commit
[INET]: Consolidate the xxx_evictor
authorPavel Emelyanov <xemul@openvz.org>
Mon, 15 Oct 2007 09:40:06 +0000 (02:40 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 15 Oct 2007 19:26:42 +0000 (12:26 -0700)
commit8e7999c44ee95e1e90ac91c83557a04e2948f160
tree4295add7b91114fd43eef37d70b664858776dd0d
parent1e4b82873af0f21002e37a81ef063d2e5410deb3
[INET]: Consolidate the xxx_evictor

The evictors collect some statistics for ipv4 and ipv6,
so make it return the number of evicted queues and account
them all at once in the caller.

The XXX_ADD_STATS_BH() macros are just for this case,
but maybe there are places in code, that can make use of
them as well.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_frag.h
include/net/ip.h
include/net/ipv6.h
net/ipv4/inet_fragment.c
net/ipv4/ip_fragment.c
net/ipv6/netfilter/nf_conntrack_reasm.c
net/ipv6/reassembly.c