inet: Pass inetpeer root into inet_getpeer*() interfaces.
authorDavid S. Miller <davem@davemloft.net>
Sun, 10 Jun 2012 02:12:36 +0000 (19:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Jun 2012 02:12:36 +0000 (19:12 -0700)
commitc0efc887dcadbdbfe171f028acfab9c7c00e9dde
treed2f628d6c222c6328a6f310378d7227c32ebf183
parent8b51b064a6da90c68af5385a874968829a2a0ed7
inet: Pass inetpeer root into inet_getpeer*() interfaces.

Otherwise we reference potentially non-existing members when
ipv6 is disabled.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inetpeer.h
net/ipv4/inetpeer.c
net/ipv4/ip_fragment.c
net/ipv4/route.c
net/ipv6/route.c