summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-12-09 03:40:30 +0000
committerDavid S. Miller <davem@davemloft.net>2010-12-10 14:05:09 -0800
commitc07224005dd3fe746246acadc9be652a588a4d7f (patch)
treebafc0802c9a1e38c3a56a3feca1b3ea4e273e392 /net/ipv6
parent457de4383ec6144df7d5a82cdfb110c825305a51 (diff)
downloadop-kernel-dev-c07224005dd3fe746246acadc9be652a588a4d7f.zip
op-kernel-dev-c07224005dd3fe746246acadc9be652a588a4d7f.tar.gz
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 7aad127..26a8da3 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;
}
OpenPOWER on IntegriCloud