]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv4/udp.c
[SOCK][NETNS]: Add a struct net argument to sock_prot_inuse_add and _get.
authorPavel Emelyanov <xemul@openvz.org>
Tue, 1 Apr 2008 02:41:46 +0000 (19:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Apr 2008 02:41:46 +0000 (19:41 -0700)
commitc29a0bc4dfc4d833eb702b1929cec96a3eeb9f7a
tree4917ad0bd8979dcae34f626032b28e62b9e358fd
parent8efa6e93cb2666dceafc4844057fdcb9aa324fb7
[SOCK][NETNS]: Add a struct net argument to sock_prot_inuse_add and _get.

This counter is about to become per-proto-and-per-net, so we'll need
two arguments to determine which cell in this "table" to work with.

All the places, but proc already pass proper net to it - proc will be
tuned a bit later.

Some indentation with spaces in proc files is done to keep the file
coding style consistent.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
include/net/udp.h
net/core/sock.c
net/ipv4/inet_hashtables.c
net/ipv4/inet_timewait_sock.c
net/ipv4/proc.c
net/ipv4/raw.c
net/ipv4/udp.c
net/ipv6/inet6_hashtables.c
net/ipv6/ipv6_sockglue.c
net/ipv6/proc.c