diff options
Diffstat (limited to 'net/econet')
-rw-r--r-- | net/econet/af_econet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/econet/af_econet.c b/net/econet/af_econet.c index 2e1f836d4240..e114da7ca9b8 100644 --- a/net/econet/af_econet.c +++ b/net/econet/af_econet.c | |||
@@ -1072,7 +1072,7 @@ static int econet_rcv(struct sk_buff *skb, struct net_device *dev, struct packet | |||
1072 | skb->protocol = htons(ETH_P_IP); | 1072 | skb->protocol = htons(ETH_P_IP); |
1073 | skb_pull(skb, sizeof(struct ec_framehdr)); | 1073 | skb_pull(skb, sizeof(struct ec_framehdr)); |
1074 | netif_rx(skb); | 1074 | netif_rx(skb); |
1075 | return 0; | 1075 | return NET_RX_SUCCESS; |
1076 | } | 1076 | } |
1077 | 1077 | ||
1078 | sk = ec_listening_socket(hdr->port, hdr->src_stn, hdr->src_net); | 1078 | sk = ec_listening_socket(hdr->port, hdr->src_stn, hdr->src_net); |
@@ -1083,7 +1083,7 @@ static int econet_rcv(struct sk_buff *skb, struct net_device *dev, struct packet | |||
1083 | hdr->port)) | 1083 | hdr->port)) |
1084 | goto drop; | 1084 | goto drop; |
1085 | 1085 | ||
1086 | return 0; | 1086 | return NET_RX_SUCCESS; |
1087 | 1087 | ||
1088 | drop: | 1088 | drop: |
1089 | kfree_skb(skb); | 1089 | kfree_skb(skb); |