[PATCH] fix ipv6 fragment ID selection at slow path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--- linux-2.6.13.2/net/ipv6/ip6_output.c	2005-09-17 09:02:12.000000000 +0800
+++ linux/net/ipv6/ip6_output.c	2005-10-02 22:12:54.000000000 +0800
@@ -701,7 +701,7 @@
 		 */
 		fh->nexthdr = nexthdr;
 		fh->reserved = 0;
-		if (frag_id) {
+		if (!frag_id) {
 			ipv6_select_ident(skb, fh);
 			frag_id = fh->identification;
 		} else

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux