]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit430e4050e0f140e14b039fd808ed5d3dc6b0d2b1
tree4917ad0bd8979dcae34f626032b28e62b9e358fd
parent06c3e1b3c6707393d3290c919400e464d55d66ea
[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