[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160328.113905.1872357343182915465.davem@davemloft.net>
Date: Mon, 28 Mar 2016 11:39:05 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: yanhaishuang@...s.chinamobile.com
Cc: pshelar@...ira.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, dev@...nvswitch.org
Subject: Re: [PATCH] openvswitch: Use proper buffer size in nla_memcpy
From: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
Date: Mon, 28 Mar 2016 18:08:59 +0800
> For the input parameter count, it's better to use the size
> of destination buffer size, as nla_memcpy would take into
> account the length of the source netlink attribute when
> a data is copied from an attribute.
>
> Signed-off-by: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
Applied, thanks.
Powered by blists - more mailing lists