提交 f36d6ab1 编写于 作者: Y Yan Zheng 提交者: David S. Miller

[IPV6]: Fix ipv6 fragment ID selection at slow path

Signed-Off-By: NYan Zheng <yanzheng@21cn.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 444fc8fc
......@@ -666,7 +666,7 @@ static int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *))
*/
fh->nexthdr = nexthdr;
fh->reserved = 0;
if (frag_id) {
if (!frag_id) {
ipv6_select_ident(skb, fh);
frag_id = fh->identification;
} else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册