On Wed, Oct 14, 2015 at 3:24 AM, Julian Anastasov <[email protected]> wrote: > > Hello, > > On Wed, 14 Oct 2015, Xin Long wrote: > >> commit fe3edf45792a ("ipv4: Remove all RTCF_DIRECTSRC handliing."). >> >> Before this commit, we had a tristate: >> < 0: error >> 0: ok >> 1: ok and set RTCF_DIRECTSRC >> >> But now we only care about 0 or < 0. > > Not true, __mkroute_input() uses the 'err' result > to set IPSKB_DOREDIRECT. > yeah, I don't understand why err > 0 is necessary to set IPSKB_DOREDIRECT to send redirects. FIB_RES_NH(res).nh_scope >= RT_SCOPE_HOST, what's that mean?
> Regards > > -- > Julian Anastasov <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
