net/ipv6/udp.c: fix typo in flush_stack()
authorJiri Pirko <jpirko@redhat.com>
Thu, 9 Dec 2010 03:40:30 +0000 (03:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Dec 2010 22:05:09 +0000 (14:05 -0800)
skb1 should be passed as parameter to sk_rcvqueues_full() here.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/udp.c

index 7aad127..26a8da3 100644 (file)
@@ -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;
                        }