mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 21:15:53 +02:00
net: Properly unlink GRO packets on overflow.
[ Upstream commtiece23711dd] 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:d4546c2509("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>
This commit is contained in:
parent
54d6a82d05
commit
89e5f2d921
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user