Skip to content

Commit

Permalink
net/ipv6/udp.c: fix typo in flush_stack()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Dec 10, 2010
1 parent 457de43 commit c072240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c072240

Please sign in to comment.