linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Salyzyn <salyzyn@android.com>
To: linux-kernel@vger.kernel.org
Cc: Ronen Arad <ronen.arad@intel.com>,
	"David S . Miller" <davem@davemloft.net>,
	Dmitry Safonov <dima@arista.com>, David Ahern <dsahern@gmail.com>,
	Kirill Tkhai <ktkhai@virtuozzo.com>,
	Andrei Vagin <avagin@virtuozzo.com>,
	Li RongQing <lirongqing@baidu.com>, YU Bo <tsu.yubo@gmail.com>,
	Denys Vlasenko <dvlasenk@redhat.com>,
	netdev@vger.kernel.org
Subject: Re: stable 3.18 backport: netlink: Trim skb to alloc size to avoid MSG_TRUNC
Date: Mon, 4 Feb 2019 07:44:12 -0800	[thread overview]
Message-ID: <2f4f6669-bdcf-a9ec-2739-d1a2c4e5222d@android.com> (raw)
In-Reply-To: <20190201194211.44372-1-salyzyn@android.com>

On 02/01/2019 11:41 AM, Mark Salyzyn wrote:
> if (alloc_size < nlk->max_recvmsg_len) {

if (alloc_min_size < nlk->max_recvmgs_len) {

-- Mark


      reply	other threads:[~2019-02-04 15:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-01 19:41 stable 3.18 backport: netlink: Trim skb to alloc size to avoid MSG_TRUNC Mark Salyzyn
2019-02-04 15:44 ` Mark Salyzyn [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=2f4f6669-bdcf-a9ec-2739-d1a2c4e5222d@android.com \
    --to=salyzyn@android.com \
    --cc=avagin@virtuozzo.com \
    --cc=davem@davemloft.net \
    --cc=dima@arista.com \
    --cc=dsahern@gmail.com \
    --cc=dvlasenk@redhat.com \
    --cc=ktkhai@virtuozzo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lirongqing@baidu.com \
    --cc=netdev@vger.kernel.org \
    --cc=ronen.arad@intel.com \
    --cc=tsu.yubo@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).