All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: Keara Leibovitz <kleib@mojatatu.com>, dsahern@gmail.com
Cc: stephen@networkplumber.org, netdev@vger.kernel.org, kernel@mojatatu.com
Subject: Re: [PATCH iproute2-next v2 1/1] tc: add json support in csum action
Date: Tue, 5 Jun 2018 15:33:59 -0700	[thread overview]
Message-ID: <0b236c0e-460b-e21b-790f-4374026a1395@gmail.com> (raw)
In-Reply-To: <1528231459-26546-1-git-send-email-kleib@mojatatu.com>

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

>     
> Signed-off-by: Keara Leibovitz <kleib@mojatatu.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.

      parent reply	other threads:[~2018-06-05 22:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-05 20:44 [PATCH iproute2-next v2 1/1] tc: add json support in csum action Keara Leibovitz
2018-06-05 21:10 ` Stephen Hemminger
2018-06-05 22:33 ` David Ahern [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0b236c0e-460b-e21b-790f-4374026a1395@gmail.com \
    --to=dsahern@gmail.com \
    --cc=kernel@mojatatu.com \
    --cc=kleib@mojatatu.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.