netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] IPv6: fix saddr checking bug in datagram_send_ctl()
       [not found] <1074683199.1172.26.camel@simulacron>
@ 2004-01-21 15:03 ` Ville Nuorvala
  2004-01-21 22:07   ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Ville Nuorvala @ 2004-01-21 15:03 UTC (permalink / raw)
  To: davem, Andreas Jellinghaus; +Cc: netdev, linux-net

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] IPv6: fix saddr checking bug in datagram_send_ctl()
  2004-01-21 15:03 ` [PATCH] IPv6: fix saddr checking bug in datagram_send_ctl() Ville Nuorvala
@ 2004-01-21 22:07   ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-01-21 22:07 UTC (permalink / raw)
  To: Ville Nuorvala; +Cc: aj, netdev, linux-net

On Wed, 21 Jan 2004 17:03:07 +0200 (EET)
Ville Nuorvala <vnuorval@tcs.hut.fi> wrote:

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

Applied, thanks Ville.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-21 22:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1074683199.1172.26.camel@simulacron>
2004-01-21 15:03 ` [PATCH] IPv6: fix saddr checking bug in datagram_send_ctl() Ville Nuorvala
2004-01-21 22:07   ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).