OSDN Git Service

net: Properly unlink GRO packets on overflow.
authorDavid S. Miller <davem@davemloft.net>
Sun, 28 Oct 2018 17:35:12 +0000 (10:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Oct 2018 17:35:12 +0000 (10:35 -0700)
commitece23711dd956cd5053c9cb03e9fe0668f9c8894
tree292446034e76dd6fae7dc66607f8115d6c9aad88
parent6788fac82001ed1944b5da976bcec4a7b9accf51
net: Properly unlink GRO packets on overflow.

Just like with normal GRO processing, we have to initialize
skb->next to NULL when we unlink overflow packets from the
GRO hash lists.

Fixes: d4546c2509b1 ("net: Convert GRO SKB handling to list_head.")
Reported-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c