Subject: PULLDOWN_TEST

From: KOZUKA Masahiro <[email-masked]>
Date: Sat, 8 Nov 2003 09:36:28 +0900

Hi.
I'm playing KAME's SCTP stack(patch 14) on NeBSD.
I found that PF_INET6 && IPPROTO_SCTP does't work on NetBSD/KAME.
In detail, IPv6's SCTP packet not processed at all.
On the other hand, PF_INET && IPPROTO_SCTP no problem in the same environment.

sctp6_input() in sys/netinet6/sctp6_usrreq.c has a problem, doesn't it?
 --
--- kame/sys/netinet6/sctp6_usrreq.c.orig	Sat Nov  8 09:06:45 2003
+++ kame/sys/netinet6/sctp6_usrreq.c	Sat Nov  8 09:29:13 2003
@@ -191,7 +191,9 @@
 
 	iphlen = off;
 
+#ifndef PULLDOWN_TEST
 	IP6_EXTHDR_CHECK(m, off, sizeof(struct sctphdr), IPPROTO_DONE);
+#endif
 
 	ip6 = mtod(m, struct ip6_hdr *);
 --
 
On FreeBSD this problem does't appear because PULLDOWN_TEST not defined yet.
But this change is required on NetBSD. So, I want to merger this change.
Thanks.
-- 
{^-^}/@kozuka.jp / KOZUKA Masahiro