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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 07 Apr 2014 04:16:40 -0600 From: Kelly Anderson <kelly@...ka.com> To: Daniel Borkmann <dborkman@...hat.com> Cc: Network Development <netdev@...r.kernel.org> Subject: Re: 3.14 tc oops Cong, The patch did not fix the problem. For your convenience, I've attached tc filter show for eth0 and eth1, as well as a mangled version of my tcng input file. On Sunday, April 06, 2014 22:56:27 you wrote: > On Thu, Apr 3, 2014 at 9:24 AM, Cong Wang <xiyou.wangcong@...il.com> wrote: > > On Wed, Apr 2, 2014 at 7:24 AM, Kelly Anderson <kelly@...ka.com> wrote: > >> Hi, > >> > >> I hit a kernel oops when starting traffic control on my armv7 router, I > >> don't think the architecture is related, the same tc code worked > >> perfectly with earlier kernel versions, i.e. 3.13.x. > >> > >> I also attached an object dump with line numbers to make identifying the > >> problem a bit easier. > >> > >> Please cc me to keep me in the loop, I can test patches. > > > > Thanks for the report! Looks like it is caused by one of my patches, > > I will look into this shortly. > > Which tc filter are you using on that htb qdisc? (tc filter show dev ....) > > I suspect it's tcindex filter, if so please try the following patch: > > diff --git a/net/sched/cls_tcindex.c b/net/sched/cls_tcindex.c > index eed8404..14618cc 100644 > --- a/net/sched/cls_tcindex.c > +++ b/net/sched/cls_tcindex.c > @@ -298,8 +298,10 @@ tcindex_set_parms(struct net *net, struct > tcf_proto *tp, unsigned long base, > tcf_exts_change(tp, &cr.exts, &e); > > tcf_tree_lock(tp); > - if (old_r && old_r != r) > + if (old_r && old_r != r) { > memset(old_r, 0, sizeof(*old_r)); > + tcf_exts_init(&old_r->exts, TCA_TCINDEX_ACT, > TCA_TCINDEX_POLICE); > + } > > memcpy(p, &cp, sizeof(cp)); > memcpy(r, &cr, sizeof(cr)); View attachment "tc-filter-show-eth0.txt" of type "text/plain" (9391 bytes) View attachment "tc-filter-show-eth1.txt" of type "text/plain" (7828 bytes) View attachment "idle-mangle.tcc" of type "text/x-csrc" (5061 bytes)
Powered by blists - more mailing lists