[LLC]: Fix double receive of SKB.
authorAndrew Morton <akpm@osdl.org>
Fri, 2 Jun 2006 23:29:20 +0000 (16:29 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 18 Jun 2006 04:29:19 +0000 (21:29 -0700)
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>
net/llc/llc_input.c

index 32cf8ac8ea80f99269d538cb6c382ba75319d162..94d2368ade92c6368eec7121e26b2dbea4e04a65 100644 (file)
@@ -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]))