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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171116163508.2f57d4e7@xeon-e3>
Date:   Thu, 16 Nov 2017 16:35:08 -0800
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Greg Greenway <ggreenway@...le.com>
Cc:     netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] Add "show" subcommand to "ip fou"

On Fri, 03 Nov 2017 10:19:22 -0700
Greg Greenway <ggreenway@...le.com> wrote:

> On Nov 1, 2017, at 2:03 PM, Stephen Hemminger <stephen@...workplumber.org> wrote:
> > 
> > On Tue, 31 Oct 2017 13:00:47 -0700
> > Greg Greenway <ggreenway@...le.com> wrote:
> >   
> >> +	if (tb[FOU_ATTR_AF]) {
> >> +		family = rta_getattr_u8(tb[FOU_ATTR_AF]);
> >> +		if (family == AF_INET)
> >> +			family_str = "AF_INET";
> >> +		else if (family == AF_INET6)
> >> +			family_str = "AF_INET6";
> >> +		else
> >> +			family_str = "unknown";
> >> +		fprintf(fp, "af %s ", family_str);  
> > 
> > The unwritten rule for ip commands is that the show function
> > must format the output with same command syntax as the other commands set/add/delete.
> > Since there is no "af AF_INET" option to ip fou, this breaks that convention.
> > Either ignore the address family, change the add command, or output with same
> > syntax (-6); preferably the latter.  
> 
> That makes sense.  Here's a corrected version.  It also avoids a trailing-space in the output.

Yes, your followup looks correct but since it didn't follow the mailing list
patch protocol it was not picked up and managed by patchwork.
 https://patchwork.ozlabs.org/patch/832717/

You need to post the patch as new patch (ie not a followup) with the "v2" designation
in order to get it correctly picked up and managed by patchwork.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ