summaryrefslogtreecommitdiffstats
path: root/net/llc/llc_input.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-06-02 16:29:20 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-17 21:29:19 -0700
commit2f45c340e09242641d4f11498c3be48b35abb926 (patch)
tree9a14226719f9a1e10d7ef219e24404570be155f2 /net/llc/llc_input.c
parentc45fb1089e714146206d7e295ff337893424c874 (diff)
downloadlinux-2f45c340e09242641d4f11498c3be48b35abb926.tar.bz2
[LLC]: Fix double receive of SKB.
Oops fix from Stephen: remove duplicate rcv() calls. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc/llc_input.c')
-rw-r--r--net/llc/llc_input.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/llc/llc_input.c b/net/llc/llc_input.c
index 32cf8ac8ea80..94d2368ade92 100644
--- a/net/llc/llc_input.c
+++ b/net/llc/llc_input.c
@@ -176,7 +176,6 @@ int llc_rcv(struct sk_buff *skb, struct net_device *dev,
struct sk_buff *cskb = skb_clone(skb, GFP_ATOMIC);
if (cskb)
rcv(cskb, dev, pt, orig_dev);
- rcv(skb, dev, pt, orig_dev);
}
dest = llc_pdu_type(skb);
if (unlikely(!dest || !llc_type_handlers[dest - 1]))