mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
[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>
This commit is contained in:
parent
c45fb1089e
commit
2f45c340e0
1 changed files with 0 additions and 1 deletions
|
@ -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]))
|
||||
|
|
Loading…
Reference in a new issue