• Eric W. Biederman's avatar
    ax25: Stop depending on arp_find · 945db424
    Eric W. Biederman authored
    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: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    945db424
ax25_ip.c 6.28 KB