Skip to content

Commit

Permalink
[LLC]: Fix double receive of SKB.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and David S. Miller committed Jun 18, 2006
1 parent c45fb10 commit 2f45c34
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/llc/llc_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down

0 comments on commit 2f45c34

Please sign in to comment.