ip_options_fragment() has no effect on fragmentation
Subsystems (3)
Hello Mr. David:
Does this patch will be used?
This patch resolved the following 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.
Quoted 11 lines · David S. Miller
From: Wei Yongjun <[email protected]>
Date: Wed, 01 Feb 2006 14:21:41 -0500Your patch is still corrupt, new lines were added by your email client which splits up the patch headers.
I applied the patch by hand, but next time I won't put so much effort into fixing up your work. Please learn how to submit patches properly.
Thank you.
net/ipv4/ip_options.c 2006-01-27 09:12:21.857619848 +0900 renamed from net/ipv4/ip_options.c.orig 2006-01-27 09:14:33.463612696 +0900 +1 -1
@@ -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;
David S. Miller
maintainerFrom: [email protected]
Date: Fri, 5 May 2006 13:50:02 -0400
Quoted 1 line
Does this patch will be used?
Your patch is in the tree already.
David S. Miller
maintainerFrom: [email protected]
Date: Fri, 5 May 2006 13:50:02 -0400
Quoted 8 lines
Does this patch will be used?
This patch resolved the following 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.
Actually it didn't get applied for some reason.
Please resubmit it properly with a full changelog and "Signed-off-by: " lines, and make double sure that your email client does not corrupt the patch so that I may apply it cleanly. Test this by sending it to yourself and trying to apply the patch.
Thanks.