Skip to content

Commit

Permalink
Have atalk_route_packet() return NET_RX_SUCCESS not NET_XMIT_SUCCESS
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Mark Smith authored and davem330 committed Sep 15, 2009
1 parent 4142e0d commit 8be8057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/appletalk/ddp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ static int atalk_route_packet(struct sk_buff *skb, struct net_device *dev,

if (aarp_send_ddp(rt->dev, skb, &ta, NULL) == NET_XMIT_DROP)
return NET_RX_DROP;
return NET_XMIT_SUCCESS;
return NET_RX_SUCCESS;
free_it:
kfree_skb(skb);
drop:
Expand Down

0 comments on commit 8be8057

Please sign in to comment.