summaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2009-06-20 02:53:25 +0200
committerDavid S. Miller <davem@davemloft.net>2009-07-06 04:15:35 +0200
commit0e8635a8e1f2d4a9e1bfc6c3b21419a5921e674f (patch)
treefe9a6f5d21259e51d0ac87f00787b32248f2851a /net/decnet
parentMerge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne... (diff)
downloadlinux-0e8635a8e1f2d4a9e1bfc6c3b21419a5921e674f.tar.xz
linux-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/decnet')
-rw-r--r--net/decnet/dn_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c
index 1d6ca8a98dc6..9383d3e5a1ab 100644
--- a/net/decnet/dn_route.c
+++ b/net/decnet/dn_route.c
@@ -774,7 +774,7 @@ static int dn_rt_bug(struct sk_buff *skb)
kfree_skb(skb);
- return NET_RX_BAD;
+ return NET_RX_DROP;
}
static int dn_rt_set_next_hop(struct dn_route *rt, struct dn_fib_res *res)