提交 2f45c340 编写于 作者: A Andrew Morton 提交者: David S. Miller

[LLC]: Fix double receive of SKB.

Oops fix from Stephen: remove duplicate rcv() calls.
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c45fb108
...@@ -176,7 +176,6 @@ int llc_rcv(struct sk_buff *skb, struct net_device *dev, ...@@ -176,7 +176,6 @@ int llc_rcv(struct sk_buff *skb, struct net_device *dev,
struct sk_buff *cskb = skb_clone(skb, GFP_ATOMIC); struct sk_buff *cskb = skb_clone(skb, GFP_ATOMIC);
if (cskb) if (cskb)
rcv(cskb, dev, pt, orig_dev); rcv(cskb, dev, pt, orig_dev);
rcv(skb, dev, pt, orig_dev);
} }
dest = llc_pdu_type(skb); dest = llc_pdu_type(skb);
if (unlikely(!dest || !llc_type_handlers[dest - 1])) if (unlikely(!dest || !llc_type_handlers[dest - 1]))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册