Skip to contentSkip to conversation

IPv6: fix saddr checking bug in datagram_send_ctl()

PATCH Applied Ville Nuorvala 2 participants 2 messages Jan 21, 2004 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1074683199.1172.26.camel@simulacron

#1 lore raw

PATCH 1/1 IPv6: fix saddr checking bug in datagram_send_ctl()

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 =====

net/ipv6/datagram.c +1 -1
@@ -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: [email protected], phone: +358 (0)9 451 5257

#2 lore raw
Quoted 4 lines · On Wed, 21 Jan 2004 17:03:07 +0200 (EET) Ville Nuorvala <[email protected]>…

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

Here is the fix.

Applied, thanks Ville.