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: <0b236c0e-460b-e21b-790f-4374026a1395@gmail.com>
Date:   Tue, 5 Jun 2018 15:33:59 -0700
From:   David Ahern <dsahern@...il.com>
To:     Keara Leibovitz <kleib@...atatu.com>, dsahern@...il.com
Cc:     stephen@...workplumber.org, netdev@...r.kernel.org,
        kernel@...atatu.com
Subject: Re: [PATCH iproute2-next v2 1/1] tc: add json support in csum action

On 6/5/18 1:44 PM, Keara Leibovitz wrote:
> Add json output support for checksum action.
> 
...

>     
> Signed-off-by: Keara Leibovitz <kleib@...atatu.com>
> ---
>  tc/m_csum.c | 16 ++++++++++------
>  1 file changed, 10 insertions(+), 6 deletions(-)
> 
> diff --git a/tc/m_csum.c b/tc/m_csum.c
> index 8391071d73f2..0bdbcf361a28 100644
> --- a/tc/m_csum.c
> +++ b/tc/m_csum.c
> @@ -162,6 +162,7 @@ print_csum(struct action_util *au, FILE *f, struct rtattr *arg)
>  	char *uflag_5 = "";
>  	char *uflag_6 = "";
>  	char *uflag_7 = "";
> +	char buf[64];

changed that line to 'SPRINT_BUF(buf);' per Stephen's comment and
applied to iproute2-next.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ