]> err.no Git - linux-2.6/commit
[IPV6]: Use the {DEFINE|REF}_PROTO_INUSE infrastructure
authorEric Dumazet <dada1@cosmosbay.com>
Tue, 6 Nov 2007 07:39:51 +0000 (23:39 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 7 Nov 2007 12:08:59 +0000 (04:08 -0800)
commitc5a432f1a18b4b2efe691dd6bbb30d86a281f783
treefcbff269067e11c49a0fd99a568edf03036f2d55
parent47a31a6ffcca3b55149bccd5b99763e5eea60ac4
[IPV6]: Use the {DEFINE|REF}_PROTO_INUSE infrastructure

Trivial patch to make "tcpv6,udpv6,udplitev6,rawv6" protocols uses the
fast "inuse sockets" infrastructure

Each protocol use then a static percpu var, instead of a dynamic one.
This saves some ram and some cpu cycles

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/raw.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c
net/ipv6/udplite.c