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: Sat, 20 Sep 2014 18:20:50 -0700 From: Eric Dumazet <eric.dumazet@...il.com> To: John Fastabend <john.fastabend@...il.com> Cc: xiyou.wangcong@...il.com, jhs@...atatu.com, davem@...emloft.net, netdev@...r.kernel.org Subject: Re: [net-next PATCH v2 2/2] net: sched: cls_u32 changes to knode must appear atomic to readers On Fri, 2014-09-19 at 21:50 -0700, John Fastabend wrote: > Changes to the cls_u32 classifier must appear atomic to the > readers. Before this patch if a change is requested for both > the exts and ifindex, first the ifindex is updated then the > exts with tcf_exts_change(). This opens a small window where > a reader can have a exts chain with an incorrect ifindex. This > violates the the RCU semantics. > CC: Eric Dumazet <edumazet@...gle.com> > CC: Jamal Hadi Salim <jhs@...atatu.com> > Signed-off-by: John Fastabend <john.r.fastabend@...el.com> > --- > net/sched/cls_u32.c | 135 ++++++++++++++++++++++++++++++++++++++++++++++++--- > 1 file changed, 126 insertions(+), 9 deletions(-) Acked-by: Eric Dumazet <edumazet@...gle.com> -- 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