summaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2009-06-20 00:53:25 +0000
committerDavid S. Miller <davem@davemloft.net>2009-07-05 19:15:35 -0700
commit0e8635a8e1f2d4a9e1bfc6c3b21419a5921e674f (patch)
treefe9a6f5d21259e51d0ac87f00787b32248f2851a /net/lapb
parent6b1344724e10c166d9e3c17011ed879ddf302e94 (diff)
downloadkernel-common-0e8635a8e1f2d4a9e1bfc6c3b21419a5921e674f.tar.gz
kernel-common-0e8635a8e1f2d4a9e1bfc6c3b21419a5921e674f.tar.bz2
kernel-common-0e8635a8e1f2d4a9e1bfc6c3b21419a5921e674f.zip
net: remove NET_RX_BAD and NET_RX_CN* defines
almost no users in the tree; and the few that use them treat them like NET_RX_DROP. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb')
-rw-r--r--net/lapb/lapb_iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/lapb/lapb_iface.c b/net/lapb/lapb_iface.c
index 2ba1bc4f3c3a..bda96d18fd98 100644
--- a/net/lapb/lapb_iface.c
+++ b/net/lapb/lapb_iface.c
@@ -407,7 +407,7 @@ int lapb_data_indication(struct lapb_cb *lapb, struct sk_buff *skb)
return lapb->callbacks.data_indication(lapb->dev, skb);
kfree_skb(skb);
- return NET_RX_CN_HIGH; /* For now; must be != NET_RX_DROP */
+ return NET_RX_SUCCESS; /* For now; must be != NET_RX_DROP */
}
int lapb_data_transmit(struct lapb_cb *lapb, struct sk_buff *skb)