[PATCH] IPv6: fix saddr checking bug in datagram_send_ctl()

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

 



Hi Dave,

I'm sorry, a bug had slipped into my link-local checking patch, which
Andreas noticed.

Here is the fix.

Thanks,
Ville

===== net/ipv6/datagram.c 1.12 vs edited =====
--- 1.12/net/ipv6/datagram.c	Tue Jan 20 07:37:47 2004
+++ edited/net/ipv6/datagram.c	Wed Jan 21 16:55:39 2004
@@ -295,7 +295,7 @@

 			addr_type = ipv6_addr_type(&src_info->ipi6_addr);

-			if (ipv6_addr_type == IPV6_ADDR_ANY)
+			if (addr_type == IPV6_ADDR_ANY)
 				break;

 			if (addr_type & IPV6_ADDR_LINKLOCAL) {

--
Ville Nuorvala
Research Assistant, Institute of Digital Communications,
Helsinki University of Technology
email: vnuorval@tcs.hut.fi, phone: +358 (0)9 451 5257
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux