ipv6: Eliminate dst_get_neighbour_noref() usage in ip6_forward().
authorDavid S. Miller <davem@davemloft.net>
Fri, 27 Jan 2012 23:32:19 +0000 (15:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Jan 2012 02:00:08 +0000 (21:00 -0500)
commitc45a3dfb59c0f17bdbd294dd01efb2d7f99a32c7
treea7b4f99a97ab012371f91fa7a2fbdc52bb584f74
parent4991969a1027826c3db19dd3e600e145603e6928
ipv6: Eliminate dst_get_neighbour_noref() usage in ip6_forward().

It's only used to get at neigh->primary_key, which in this context is
always going to be the same as rt->rt6i_gateway.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c