| Submitter | Pedro Ribeiro |
|---|---|
| Date | Oct. 14, 2008, 10:38 p.m. |
| Message ID | <1338007712.20081014233811@net.ipl.pt> |
| Download | mbox | patch |
| Permalink | /patch/4530/ |
| State | Changes Requested |
| Headers | show |
Comments
From: Pedro Ribeiro <pribeiro-bulk@net.ipl.pt> Date: Tue, 14 Oct 2008 23:38:11 +0100 > Hello David, > > Thanks for your time on this, follows a new patch made against 2.6.27, > this time I minimized the cut&paste to avoid corrupting the patch. It's still corrupted, the tab characters in the patch were transformed into spaces. It's not about cut&paste, your email client is reformatting the content (no matter how you compose it) before sending it out. You need to configure your email client explicitly to not reformat the content and to use plain ASCII text. Also, you need to provide a proper "Signed-off-by: " line. All of this is detailed in the following kernel source doc files: linux/Documentation/email-clients.txt linux/Documentation/SubmittingPatches Thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
diff -wurNbB linux-2.6.27/include/linux/icmpv6.h linux-2.6.27fix/include/linux/icmpv6.h --- linux-2.6.27/include/linux/icmpv6.h 2008-10-09 23:13:53.000000000 +0100 +++ linux-2.6.27fix/include/linux/icmpv6.h 2008-10-14 23:24:31.000000000 +0100 @@ -40,16 +40,18 @@ struct icmpv6_nd_ra { __u8 hop_limit; #if defined(__LITTLE_ENDIAN_BITFIELD) - __u8 reserved:4, + __u8 reserved:3, router_pref:2, + home_agent:1, other:1, managed:1; #elif defined(__BIG_ENDIAN_BITFIELD) __u8 managed:1, other:1, + home_agent:1, router_pref:2, - reserved:4; + reserved:3; #else #error "Please fix <asm/byteorder.h>" #endif diff -wurNbB linux-2.6.27/net/ipv6/ndisc.c linux-2.6.27fix/net/ipv6/ndisc.c --- linux-2.6.27/net/ipv6/ndisc.c 2008-10-09 23:13:53.000000000 +0100 +++ linux-2.6.27fix/net/ipv6/ndisc.c 2008-10-14 23:24:31.000000000 +0100 @@ -1199,7 +1199,7 @@ } neigh->flags |= NTF_ROUTER; } else if (rt) { - rt->rt6i_flags |= (rt->rt6i_flags & ~RTF_PREF_MASK) | RTF_PREF(pref); + rt->rt6i_flags = (rt->rt6i_flags & ~RTF_PREF_MASK) | RTF_PREF(pref); } if (rt)