From 1b53a49ad97b6aa4896f2f78290f1f27c2f3a28a Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Fri, 25 May 2012 01:43:52 +0000 Subject: [PATCH] MFp4 bz_ipv6_fast: We currently nowhere set IP6A_SWAP making the entire check useless with the current code. Keep around but do not compile in. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Reviewed by: gnn (as part of the whole) MFC After: 3 days --- sys/netinet6/route6.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netinet6/route6.c b/sys/netinet6/route6.c index 1311437cbc6d..ac0c7e6ff9fc 100644 --- a/sys/netinet6/route6.c +++ b/sys/netinet6/route6.c @@ -62,6 +62,7 @@ route6_input(struct mbuf **mp, int *offp, int proto) struct mbuf *m = *mp; struct ip6_rthdr *rh; int off = *offp, rhlen; +#ifdef __notyet__ struct ip6aux *ip6a; ip6a = ip6_findaux(m); @@ -73,6 +74,7 @@ route6_input(struct mbuf **mp, int *offp, int proto) return IPPROTO_DONE; } } +#endif #ifndef PULLDOWN_TEST IP6_EXTHDR_CHECK(m, off, sizeof(*rh), IPPROTO_DONE);