From: Andrew Morton Date: Fri, 2 Jun 2006 23:29:20 +0000 (-0700) Subject: [LLC]: Fix double receive of SKB. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2f45c340e09242641d4f11498c3be48b35abb926;p=openwrt%2Fstaging%2Fblogic.git [LLC]: Fix double receive of SKB. Oops fix from Stephen: remove duplicate rcv() calls. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- 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]))