net: Properly unlink GRO packets on overflow.
authorDavid S. Miller <davem@davemloft.net>
Sun, 28 Oct 2018 17:35:12 +0000 (10:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Nov 2018 13:50:53 +0000 (14:50 +0100)
commit89e5f2d9219dbd522e6d60e7639f09fa1ccda1cd
tree5c8accedf7034fbf5668533ce96780defd1ddc98
parent54d6a82d05dcc29b212d785dea917a9d2268cb58
net: Properly unlink GRO packets on overflow.

[ Upstream commti ece23711dd956cd5053c9cb03e9fe0668f9c8894 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/dev.c