netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-2.6] net/ipv6/udp.c: fix typo in flush_stack()
@ 2010-12-09 13:40 Jiri Pirko
  2010-12-09 13:48 ` Eric Dumazet
  0 siblings, 1 reply; 4+ messages in thread
From: Jiri Pirko @ 2010-12-09 13:40 UTC (permalink / raw)
  To: netdev; +Cc: davem, eric.dumazet

skb1 should be passed as parameter to sk_rcvqueues_full() here.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>

diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index 91def93..d2b268e 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;
 			}

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-10 22:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-09 13:40 [PATCH net-2.6] net/ipv6/udp.c: fix typo in flush_stack() Jiri Pirko
2010-12-09 13:48 ` Eric Dumazet
2010-12-09 14:28   ` Jiri Pirko
2010-12-10 22:05   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).