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>
This commit is contained in:
Родитель
457de4383e
Коммит
c07224005d
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче