linux/net/appletalk
Mark Smith 6885ffb3a1 Use correct NET_RX_* returns for atalk_rcv()
In all rx'd SKB cases, atalk_rcv() either eventually jumps to or falls through
    to the label out:, which  returns numeric 0. Numeric 0 corresponds to
    NET_RX_SUCCESS, which is incorrect in failed SKB cases.

    This patch makes atalk_rcv() provide the correct returns by:

    o  explicitly returning NET_RX_SUCCESS in the two success cases
    o  having the out: label return NET_RX_DROP, instead of numeric 0
    o  making the failed SKB labels and processing more consistent with other
       _rcv() routines in the kernel, simplifying validation and removing a
       backwards goto

Signed-off-by: Mark Smith <markzzzsmith@yahoo.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-08-12 20:44:50 -07:00
..
aarp.c appletalk: convert aarp to net_device_ops 2009-01-07 17:21:44 -08:00
atalk_proc.c net: correct off-by-one write allocations reports 2009-06-18 00:29:12 -07:00
ddp.c Use correct NET_RX_* returns for atalk_rcv() 2009-08-12 20:44:50 -07:00
dev.c net: remove COMPAT_NET_DEV_OPS 2009-05-25 01:53:53 -07:00
Makefile
sysctl_net_atalk.c