inet: Create and use rt{,6}_get_peer_create().
authorDavid S. Miller <davem@davemloft.net>
Sat, 9 Jun 2012 06:24:18 +0000 (23:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Jun 2012 06:24:18 +0000 (23:24 -0700)
commitfbfe95a42e90b3dd079cc9019ba7d7700feee0f6
treef5f16e6efcf1411a47df8b836f669fc452489dd4
parent7123aaa3a1416529ce461e98108e6b343b294643
inet: Create and use rt{,6}_get_peer_create().

There's a lot of places that open-code rt{,6}_get_peer() only because
they want to set 'create' to one.  So add an rt{,6}_get_peer_create()
for their sake.

There were also a few spots open-coding plain rt{,6}_get_peer() and
those are transformed here as well.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_route.h
include/net/route.h
net/ipv4/icmp.c
net/ipv4/route.c
net/ipv4/tcp_ipv4.c
net/ipv6/icmp.c
net/ipv6/ip6_output.c
net/ipv6/ndisc.c
net/ipv6/route.c
net/ipv6/tcp_ipv6.c