aboutsummaryrefslogtreecommitdiff
path: root/net
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
parentc45fb1089e714146206d7e295ff337893424c874 (diff)
[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')
-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 32cf8ac8ea8..94d2368ade9 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]))