netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IPV6 source routing patch is still broken?
@ 2007-04-26 21:53 Chuck Ebbert
  2007-04-26 22:04 ` David Miller
  2007-04-26 22:31 ` David Miller
  0 siblings, 2 replies; 10+ messages in thread
From: Chuck Ebbert @ 2007-04-26 21:53 UTC (permalink / raw)
  To: YOSHIFUJI Hideaki; +Cc: Netdev

Looking at the patch that went into 2.6.20.9, I can't see
how type 2 packets get through at all. Shouldn't this part
read:

+       case IPV6_SRCRT_TYPE_2:
+               if (accept_source_route >= 0)
+                       break;
+               kfree_skb(skb);
+               return -1;
+       case IPV6_SRCRT_TYPE_0:
+               if (accept_source_route > 0)
+                       break;
+               kfree_skb(skb);
+               return -1;

And what does this do?

+	switch (hdr->type) {
+#ifdef CONFIG_IPV6_MIP6
+		break;
+#endif

break by itself like that doesn't do anything. If it did
then people with mobile ipv6 enabled would always accept all
source routing. (They should at least know that's a problem.)


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

end of thread, other threads:[~2007-04-27  9:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-26 21:53 IPV6 source routing patch is still broken? Chuck Ebbert
2007-04-26 22:04 ` David Miller
2007-04-26 23:10   ` Chuck Ebbert
2007-04-26 23:52     ` YOSHIFUJI Hideaki / 吉藤英明
2007-04-27  2:29     ` David Miller
2007-04-26 22:31 ` David Miller
2007-04-26 22:57   ` Chuck Ebbert
2007-04-27  9:08     ` David Miller
2007-04-27  9:36       ` YOSHIFUJI Hideaki / 吉藤英明
2007-04-27  9:41         ` David 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).