summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-12-09 04:40:30 +0100
committerDavid S. Miller <davem@davemloft.net>2010-12-10 23:05:09 +0100
commitc07224005dd3fe746246acadc9be652a588a4d7f (patch)
treebafc0802c9a1e38c3a56a3feca1b3ea4e273e392 /net/ipv6
parentipv6: Fix 'release_it' logic in tcp_v6_get_peer() (diff)
downloadlinux-c07224005dd3fe746246acadc9be652a588a4d7f.tar.xz
linux-c07224005dd3fe746246acadc9be652a588a4d7f.zip
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 <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/udp.c2
1 files changed, 1 insertions, 1 deletions
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;
}