Have atalk_route_packet() return NET_RX_SUCCESS not NET_XMIT_SUCCESS
authorMark Smith <lk-netdev@lk-netdev.nosense.org>
Sat, 12 Sep 2009 20:48:43 +0000 (20:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2009 00:02:47 +0000 (17:02 -0700)
commit8be8057e72d7d319f8e97b26e16de8021fe63988
tree46038a1d00df70b0e80ef5727ee329d6ba6325a0
parent4142e0d1def2c0176c27fd2e810243045a62eb6d
Have atalk_route_packet() return NET_RX_SUCCESS not NET_XMIT_SUCCESS

Have atalk_route_packet() return NET_RX_SUCCESS not NET_XMIT_SUCCESS

atalk_route_packet() returns NET_RX_DROP if it's call to
aarp_send_ddp() returns NET_XMIT_DROP. If aarp_send_ddp() returns
anything else atalk_route_packet() should return NET_RX_SUCCESS, not
NET_XMIT_SUCCESS.

Signed-off-by: Mark Smith <markzzzsmith@yahoo.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/appletalk/ddp.c