]> git.baikalelectronics.ru Git - kernel.git/commit
ax25: Stop depending on arp_find
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 2 Mar 2015 06:09:42 +0000 (00:09 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2015 21:43:41 +0000 (16:43 -0500)
commitc0d7bb6409fa360d07018df280cee475b31451d3
treeb1228e2999e98fd7d3e62979b84c005ca48343c9
parent0f4dd08152f159c7b7187f3ad87abbc0cd19d36b
ax25: Stop depending on arp_find

Have ax25_neigh_output perform ordinary arp resolution before calling
ax25_neigh_xmit.

Call dev_hard_header in ax25_neigh_output with a destination address so
it will not fail, and the destination mac address will not need to be
set in ax25_neigh_xmit.

Remove arp_find from ax25_neigh_xmit (the ordinary arp resolution added
to ax25_neigh_output removes the need for calling arp_find).

Document how close ax25_neigh_output is to neigh_resolve_output.

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-hams@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ax25/ax25_ip.c