Re: ipv4: ip unreachable with SO_BINDTODEVICE socket

2015-11-11 Thread Julian Anastasov
Hello, On Wed, 11 Nov 2015, Kouya Shimura wrote: > Hi > > When both server and client are on the same machine and each their > socket option is set to SO_BINDTODEVICE, sometimes a packet doesn't > reach to the server. > > The reproducible test program is attached. (modify "IF_ADDR=, IP

ipv4: ip unreachable with SO_BINDTODEVICE socket

2015-11-10 Thread Kouya Shimura
Hi When both server and client are on the same machine and each their socket option is set to SO_BINDTODEVICE, sometimes a packet doesn't reach to the server. The reproducible test program is attached. (modify "IF_ADDR=, IP_ADDR=, PORT=" lines appropriately). Please try 'taskset -c 1 python test