commit | ac71b46efd2838c02ec193987c8f61c3ba33b495 | [log] [tgz] |
---|---|---|
author | Haishuang Yan <yanhaishuang@cmss.chinamobile.com> | Mon Mar 28 18:08:59 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 28 11:37:14 2016 -0400 |
tree | e7deb5ade34f3415b907a4cc633305361af66070 | |
parent | d7be81a5916bdb1d904803958e5991a16f7ae4b2 [diff] |
openvswitch: Use proper buffer size in nla_memcpy 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> Signed-off-by: David S. Miller <davem@davemloft.net>