Re: [PATCH] ipv4: do not cache local route when using SO_BINDTODEVICE

2016-02-25 Thread Kouya Shimura
Thanks for reviewing. David Miller writes: > From: Kouya Shimura > Date: Tue, 23 Feb 2016 14:27:32 +0900 > >> After v3.6, output routes are cached, however, the 'rt_iif' field of >> struct rtable can not be shared by various traffics using SO_BINDTODEVICE. >> It causes that traffic can not reach

Re: [PATCH] ipv4: do not cache local route when using SO_BINDTODEVICE

2016-02-25 Thread David Miller
From: Kouya Shimura Date: Tue, 23 Feb 2016 14:27:32 +0900 > After v3.6, output routes are cached, however, the 'rt_iif' field of > struct rtable can not be shared by various traffics using SO_BINDTODEVICE. > It causes that traffic can not reach the local receiver which also uses > SO_BINDTODEVIC

[PATCH] ipv4: do not cache local route when using SO_BINDTODEVICE

2016-02-22 Thread Kouya Shimura
After v3.6, output routes are cached, however, the 'rt_iif' field of struct rtable can not be shared by various traffics using SO_BINDTODEVICE. It causes that traffic can not reach the local receiver which also uses SO_BINDTODEVICE after another traffic creates a local route cache. /* sender a