15 Jan
2011
15 Jan
'11
3:48 p.m.
Hi, Finally found the time to look into this, a clean v2.1.10 tree with the following cherry-picks: * e5c861665f00f1213036ba412b7092aac7159ad7 (contains bug) * fa0851d9235f04ff0d4161fc6f842857ff8d52aa The bug is fixed with the attached 0003-fix-recvpktinfo.patch, and then IPv6 is actually enabled with 0004-enable-ipv6.patch. For PKTINFO to work, Linux needs IPV6_RECVPKTINFO (or the legacy IPV6_2292PKTINFO) passed to setsockopt, however when you jump into sendmsg() cmsg->cmsg_type has to be IPV6_PKTINFO (or the legacy IPV6_2292PKTINFO); this is broken in the commit do to all the define/undef magic going on. I think I have sanitised it correctly. Cheers -- Alexander Clouter .sigmonster says: Have an adequate day.