[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <46311F76.9040803@redhat.com>
Date: Thu, 26 Apr 2007 17:53:58 -0400
From: Chuck Ebbert <cebbert@...hat.com>
To: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
CC: Netdev <netdev@...r.kernel.org>
Subject: IPV6 source routing patch is still broken?
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.)
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists