All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Lin Ma <linma@zju.edu.cn>
Cc: davem@davemloft.net, netdev@vger.kernel.org,
	tipc-discussion@lists.sourceforge.net,
	tung.q.nguyen@dektech.com.au
Subject: Re: [PATCH v2] net: tipc: resize nlattr array to correct size
Date: Wed, 14 Jun 2023 14:49:53 +0200	[thread overview]
Message-ID: <20230614124953.GA15559@breakpoint.cc> (raw)
In-Reply-To: <20230614120604.1196377-1-linma@zju.edu.cn>

Lin Ma <linma@zju.edu.cn> wrote:
> According to nla_parse_nested_deprecated(), the tb[] is supposed to the
> destination array with maxtype+1 elements. In current
> tipc_nl_media_get() and __tipc_nl_media_set(), a larger array is used
> which is unnecessary. This patch resize them to a proper size.

Reviewed-by: Florian Westphal <fw@strlen.de>

  reply	other threads:[~2023-06-14 12:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-14 12:06 [PATCH v2] net: tipc: resize nlattr array to correct size Lin Ma
2023-06-14 12:49 ` Florian Westphal [this message]
2023-06-15  2:44 ` Tung Quang Nguyen
2023-06-15 22:10 ` patchwork-bot+netdevbpf

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=20230614124953.GA15559@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=davem@davemloft.net \
    --cc=linma@zju.edu.cn \
    --cc=netdev@vger.kernel.org \
    --cc=tipc-discussion@lists.sourceforge.net \
    --cc=tung.q.nguyen@dektech.com.au \
    /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.