aboutsummaryrefslogtreecommitdiffstats
path: root/net/llc
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-06-02 19:29:20 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-18 00:29:19 -0400
commit2f45c340e09242641d4f11498c3be48b35abb926 (patch)
tree9a14226719f9a1e10d7ef219e24404570be155f2 /net/llc
parentc45fb1089e714146206d7e295ff337893424c874 (diff)
[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>
Diffstat (limited to 'net/llc')
-rw-r--r--net/llc/llc_input.c1
1 files changed, 0 insertions, 1 deletions
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,
176 struct sk_buff *cskb = skb_clone(skb, GFP_ATOMIC); 176 struct sk_buff *cskb = skb_clone(skb, GFP_ATOMIC);
177 if (cskb) 177 if (cskb)
178 rcv(cskb, dev, pt, orig_dev); 178 rcv(cskb, dev, pt, orig_dev);
179 rcv(skb, dev, pt, orig_dev);
180 } 179 }
181 dest = llc_pdu_type(skb); 180 dest = llc_pdu_type(skb);
182 if (unlikely(!dest || !llc_type_handlers[dest - 1])) 181 if (unlikely(!dest || !llc_type_handlers[dest - 1]))