提交 89e5f2d9 编写于 作者: D David S. Miller 提交者: Greg Kroah-Hartman

net: Properly unlink GRO packets on overflow.

[ Upstream commti ece23711 ]

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: NOleksandr Natalenko <oleksandr@natalenko.name>
Tested-by: NOleksandr Natalenko <oleksandr@natalenko.name>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 54d6a82d
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册