]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
inetpeer: add parameter net for inet_getpeer_v4,v6
authorGao feng <gaofeng@cn.fujitsu.com>
Fri, 8 Jun 2012 01:21:40 +0000 (01:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Jun 2012 21:27:23 +0000 (14:27 -0700)
commit54db0cc2ba0d38166acc2d6bae21721405305537
tree9c067a1e7be7e3f2c862b3d64568ba330a0e0b2c
parentc8a627ed06d6d49bf65015a2185c519335c4c83f
inetpeer: add parameter net for inet_getpeer_v4,v6

add struct net as a parameter of inet_getpeer_v[4,6],
use net to replace &init_net.

and modify some places to provide net for inet_getpeer_v[4,6]

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inetpeer.h
net/ipv4/inet_fragment.c
net/ipv4/ip_fragment.c
net/ipv4/route.c
net/ipv4/tcp_ipv4.c
net/ipv6/route.c
net/ipv6/tcp_ipv6.c