linux/net/ax25
Eric W. Biederman 1d5da757da ax25: Stop using magic neighbour cache operations.
Before the ax25 stack calls dev_queue_xmit it always calls
ax25_type_trans which sets skb->protocol to ETH_P_AX25.

Which means that by looking at the protocol type it is possible to
detect IP packets that have not been munged by the ax25 stack in
ndo_start_xmit and call a function to munge them.

Rename ax25_neigh_xmit to ax25_ip_xmit and tweak the return type and
value to be appropriate for an ndo_start_xmit function.

Update all of the ax25 devices to test the protocol type for ETH_P_IP
and return ax25_ip_xmit as the first thing they do.  This preserves
the existing semantics of IP packet processing, but the timing will be
a little different as the IP packets now pass through the qdisc layer
before reaching the ax25 ip packet processing.

Remove the now unnecessary ax25 neighbour table operations.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-03 14:44:41 -05:00
..
af_ax25.c net: Remove iocb argument from sendmsg and recvmsg 2015-03-02 13:06:31 -05:00
ax25_addr.c small cleanup in ax25_addr_parse() 2012-07-09 00:16:16 -07:00
ax25_dev.c net ax25: Simplify and cleanup the ax25 sysctl handling. 2012-04-20 21:22:28 -04:00
ax25_ds_in.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ax25_ds_subr.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
ax25_ds_timer.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
ax25_iface.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
ax25_in.c net: Fix use after free by removing length arg from sk_data_ready callbacks. 2014-04-11 16:15:36 -04:00
ax25_ip.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
ax25_out.c net: use consume_skb() in place of kfree_skb() 2012-06-04 11:27:40 -04:00
ax25_route.c net: use consume_skb() in place of kfree_skb() 2012-06-04 11:27:40 -04:00
ax25_std_in.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ax25_std_subr.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ax25_std_timer.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ax25_subr.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ax25_timer.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ax25_uid.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysctl_net_ax25.c net: Convert uses of typedef ctl_table to struct ctl_table 2013-06-13 02:36:09 -07:00
TODO [AX25]: Remove obsolete references to BKL from TODO file. 2008-03-26 02:14:38 -07:00