From: Jiri Pirko Date: Thu, 9 Dec 2010 03:40:30 +0000 (+0000) Subject: net/ipv6/udp.c: fix typo in flush_stack() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c07224005dd3fe746246acadc9be652a588a4d7f;p=linux-beck.git net/ipv6/udp.c: fix typo in flush_stack() skb1 should be passed as parameter to sk_rcvqueues_full() here. Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index 7aad12770867..26a8da3f2044 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c @@ -602,7 +602,7 @@ static void flush_stack(struct sock **stack, unsigned int count, sk = stack[i]; if (skb1) { - if (sk_rcvqueues_full(sk, skb)) { + if (sk_rcvqueues_full(sk, skb1)) { kfree_skb(skb1); goto drop; }