aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_output.c
diff options
context:
space:
mode:
authorYan Zheng <yanzheng@21cn.com>2005-10-03 14:19:15 -0700
committerDavid S. Miller <davem@davemloft.net>2005-10-03 14:19:15 -0700
commitf36d6ab182a5c68e92ea3e85821dde9d29bfe284 (patch)
tree500b59dbde0ac1930d8d756f499878de2bc1cfe4 /net/ipv6/ip6_output.c
parent[IPV4]: Fix "Proxy ARP seems broken" (diff)
downloadlinux-dev-f36d6ab182a5c68e92ea3e85821dde9d29bfe284.tar.xz
linux-dev-f36d6ab182a5c68e92ea3e85821dde9d29bfe284.zip
[IPV6]: Fix ipv6 fragment ID selection at slow path
Signed-Off-By: Yan Zheng <yanzheng@21cn.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/ipv6/ip6_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 2f589f24c093..563b442ffab8 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