neigh: Use neigh table index for neigh_packet_xmit
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 7 Mar 2015 22:25:56 +0000 (16:25 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Mar 2015 23:30:06 +0000 (19:30 -0400)
commitb79bda3d38ae67940f1740f7e015f284eb551680
treefb927e9867e7a013c4ce142a993458d15ee20cef
parent7d5f41f276b376d567e919530f8b5fd70be25426
neigh: Use neigh table index for neigh_packet_xmit

Remove a little bit of unnecessary work when transmitting a packet with
neigh_packet_xmit.  Use the neighbour table index not the address family
as a parameter.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/neighbour.h
net/core/neighbour.c
net/mpls/af_mpls.c