lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 13 Dec 2009 20:12:39 +0200 (EET) From: Julian Anastasov <ja@....bg> To: jamal <hadi@...erus.ca> cc: David Miller <davem@...emloft.net>, KOVACS Krisztian <hidden@...abit.hu>, Patrick McHardy <kaber@...sh.net>, hidden@....bme.hu, aschultz@...p10.net, tproxy@...ts.balabit.hu, netdev@...r.kernel.org, Rick Jones <rick.jones2@...com> Subject: Re: [PATCH] net: restore ip source validation WAS(Re: [tproxy,regression] tproxy broken in 2.6.32 Hello, On Sun, 13 Dec 2009, jamal wrote: > Ok, I am gonna pull a Rick-Jones;-> and ASS-U-ME the attached patch is > fine. > > cheers, > jamal > --- a/net/ipv4/fib_frontend.c > +++ b/net/ipv4/fib_frontend.c > @@ -252,6 +252,8 @@ int fib_validate_source(__be32 src, __be32 dst, u8 tos, int oif, > no_addr = in_dev->ifa_list == NULL; > rpf = IN_DEV_RPFILTER(in_dev); > accept_local = IN_DEV_ACCEPT_LOCAL(in_dev); > + if (mark && !IN_DEV_SRC_VMARK(in_dev)) May be "fl.mark = 0;" ?: > + mark = 0; > } > rcu_read_unlock(); Regards -- Julian Anastasov <ja@....bg> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists