Messages in this thread | | | Date | Mon, 28 Mar 2016 11:39:05 -0400 (EDT) | Subject | Re: [PATCH] openvswitch: Use proper buffer size in nla_memcpy | From | David Miller <> |
| |
From: Haishuang Yan <yanhaishuang@cmss.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@cmss.chinamobile.com>
Applied, thanks.
| |