On Thu, Apr 20, 2017 at 5:39 PM, Andrey Konovalov <andreyk...@google.com> wrote: > On Thu, Apr 20, 2017 at 5:35 PM, David Ahern <d...@cumulusnetworks.com> wrote: >> On 4/20/17 9:28 AM, Andrey Konovalov wrote: >>> This one seems to be much closer to what Dmitry reported intially. >> >> does not repro here; I ran in a loop and nothing.
Here's strace log, maybe it'll help figuring out why it doesn't reproduce: # strace ./a.out ... socket(PF_INET6, SOCK_RAW, IPPROTO_TCP) = 3 ioctl(3, SIOCSIFFLAGS, {ifr_name="lo", ifr_flags=IFF_UP|IFF_PROMISC|IFF_ALLMULTI|0xffff8000}) = 0 socket(PF_INET6, SOCK_RAW|SOCK_CLOEXEC, 0x2b /* IPPROTO_??? */) = 4 socket(PF_INET6, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 5 ioctl(5, SIOCGIFINDEX, {ifr_name="ip6_vti0", ifr_index=26}) = 0 ioctl(4, SIOCSIFADDR, {ifr_name="?", ifr_addr={AF_X25, "\0\0\32\0\0\0\254*b\333\263\177\0\0"}}) = 0 socket(PF_INET6, SOCK_STREAM|SOCK_NONBLOCK, 0x84 /* IPPROTO_??? */) = 6 ioctl(6, SIOCSIFFLAGS, {ifr_name="lo", ifr_flags=0xffff8000 /* IFF_??? */}) = 0 socket(PF_INET6, SOCK_RAW, 0x3 /* IPPROTO_??? */) = 7 ioctl(7, SIOCSIFFLAGS, {ifr_name="ip6_vti0", ifr_flags=IFF_UP|IFF_PROMISC|IFF_ALLMULTI|0xffff8000}) = 0 ioctl(3, SIOCSIFFLAGS, {ifr_name="lo", ifr_flags=IFF_UP|IFF_PROMISC|IFF_ALLMULTI|0xffff8000}) = 0 ioctl(6, SIOCSIFFLAGS, {ifr_name="lo", ifr_flags=0xffff8000 /* IFF_??? */}) = 0 exit_group(0) = ? > > You use the attached config, right? > >> >> can you send output of "sysctl -a --pattern 'net.ipv6'" > > Uploaded here: > https://gist.github.com/xairy/7b6988c9cd8fda5458005df05584ff27