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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 26 Apr 2019 10:47:52 +0200
From:   Paolo Abeni <pabeni@...hat.com>
To:     Stephen Hemminger <stephen@...workplumber.org>
Cc:     netdev@...r.kernel.org
Subject: Re: [PATCH iproute2-next] tc: add support for plug qdisc

Hi,

On Wed, 2019-04-24 at 13:49 -0700, Stephen Hemminger wrote:
> On Wed, 24 Apr 2019 18:29:39 +0200
> Paolo Abeni <pabeni@...hat.com> wrote:
> 
> > +static int plug_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
> > +{
> > +	/* dummy implementation as sch_plug does not implement a dump op */
> > +	return 0;
> > +}
> > +
> 
> All qdisc must dump their state in same form as the parse option.

Thank you for the feedback. 

The problem here is that the sch_plug qdisc does not implement the
dump() qdisc_op, so this callback has nothing to dump.

Must I patch sch_plug first?

Thanks,

Paolo

Powered by blists - more mailing lists