Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89e5f2d9 authored by David S. Miller's avatar David S. Miller Committed by Greg Kroah-Hartman
Browse files

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: d4546c25 ("net: Convert GRO SKB handling to list_head.")
Reported-by: default avatarOleksandr Natalenko <oleksandr@natalenko.name>
Tested-by: default avatarOleksandr Natalenko <oleksandr@natalenko.name>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 54d6a82d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5431,6 +5431,7 @@ static void gro_flush_oldest(struct list_head *head)
	 * SKB to the chain.
	 */
	list_del(&oldest->list);
	oldest->next = NULL;
	napi_gro_complete(oldest);
}