From: Yan Zheng Date: Mon, 3 Oct 2005 21:19:15 +0000 (-0700) Subject: [IPV6]: Fix ipv6 fragment ID selection at slow path X-Git-Tag: v2.6.14-rc4~76 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f36d6ab182a5c68e92ea3e85821dde9d29bfe284;p=linux-2.6 [IPV6]: Fix ipv6 fragment ID selection at slow path Signed-Off-By: Yan Zheng Signed-off-by: David S. Miller --- diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index 2f589f24c0..563b442ffa 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c @@ -666,7 +666,7 @@ slow_path: */ fh->nexthdr = nexthdr; fh->reserved = 0; - if (frag_id) { + if (!frag_id) { ipv6_select_ident(skb, fh); frag_id = fh->identification; } else