Resend Patch:
--- linux-2.6.15.1/net/ipv4/ip_options.c.orig   2006-01-27
09:14:33.463612696 +0900
+++ linux-2.6.15.1/net/ipv4/ip_options.c        2006-01-27 09:12:21.857619848
+0900
@@ -207,7 +207,7 @@
 
 void ip_options_fragment(struct sk_buff * skb) 
 {
-       unsigned char * optptr = skb->nh.raw;
+       unsigned char * optptr = skb->nh.raw + sizeof(struct iphdr);
        struct ip_options * opt = &(IPCB(skb)->opt);
        int  l = opt->optlen;
        int  optlen;

> 
> 
> From: "Wei Yongjun" <[EMAIL PROTECTED]>
> Date: Fri, 27 Jan 2006 09:35:02 -0800
> 
> > [1]Summary of the problem:
> > ip_options_fragment() has no effect on fragmentation
> > 
> > [2]Full description of the problem:
> > When I send IPv4 packet(contain Record Route Option) which need to be
> > fragmented to the router, the router can not fragment it correctly.
> > After fragmented by router, the second fragmentation still contain Record
> > Route Option. Refer to RFC791, Record Route Option must Not be copied on
> > fragmentation, goes in first fragment only.
> > ip_options_fragment() is the implemental function, but there are some BUGs
> > in it:
> 
> I cannot apply any of your patches because they contain
> white space and tabbing corruption created by your email
> client.
> -
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to