Hi,
Linux-2.4.4 and 2.4.5 have a bug; they do not parse tlv options in
ipv6 dst / hbh extension headers. Here's patch.
Branch: bFIX_2_4_5-20010619
Fix: rFIX_2_4_5-20010619->tFIX_2_4_5-20010619_20010619
Index: net/ipv6/exthdrs.c
===================================================================
RCS file: /cvsroot/usagi/kernel/linux24/net/ipv6/exthdrs.c,v
retrieving revision 1.1.1.2
retrieving revision 1.1.1.2.2.1
diff -u -r1.1.1.2 -r1.1.1.2.2.1
--- net/ipv6/exthdrs.c 2001/05/01 09:41:01 1.1.1.2
+++ net/ipv6/exthdrs.c 2001/06/19 14:37:46 1.1.1.2.2.1
@@ -112,6 +112,7 @@
if ((skb->h.raw + len) - skb->data > skb_headlen(skb))
goto bad;
+ off += 2;
len -= 2;
while (len > 0) {
--
YOSHIFUJI Hideaki @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
|