]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IPV6]: Fix ipv6 fragment ID selection at slow path
authorYan Zheng <yanzheng@21cn.com>
Mon, 3 Oct 2005 21:19:15 +0000 (14:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Oct 2005 21:19:15 +0000 (14:19 -0700)
Signed-Off-By: Yan Zheng <yanzheng@21cn.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c

index 2f589f24c09397fa58cffe9d54ec866b02e78598..563b442ffab8fcabd26292199a340499cddd4fbb 100644 (file)
@@ -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