|
|||||||||||
|
kernel/2875: altq does not check v6 header in v6 option header
From: <hamajima(at)nagoya.ydc.co.jp>
Date: Sun Aug 11 2002 - 22:52:25 EDT
System : OpenBSD 3.1 Architecture: OpenBSD.i386 Machine : i386 Index: altq_subr.c RCS file: /cvs/src/sys/altq/altq_subr.c,v retrieving revision 1.7 diff -u -r1.7 altq_subr.c
--- altq_subr.c 25 Jul 2002 20:42:53 -0000 1.7
+++ altq_subr.c 31 Jul 2002 06:26:50 -0000
@@ -717,6 +717,17 @@
break;
}
+ case IPPROTO_IPV6: {
+ /* get next header and header length */
+ struct ip6_hdr *ip6;
+
+ ip6 = (struct ip6_hdr *)(mtod(m0, struct ip6_hdr *) + off);
+ proto = ip6->ip6_nxt;
+ off += sizeof(struct ip6_hdr);
+ /* goto the next header */
+ break;
+ }
+
case IPPROTO_FRAGMENT:
/* ipv6 fragmentations are not supported yet */
default:
>Release-Note:
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:36 EDT |
||||||||||
|
|||||||||||