aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h
diff options
context:
space:
mode:
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>2016-03-28 18:08:59 +0800
committerDavid S. Miller <davem@davemloft.net>2016-03-28 11:37:14 -0400
commitac71b46efd2838c02ec193987c8f61c3ba33b495 (patch)
treee7deb5ade34f3415b907a4cc633305361af66070 /drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h
parentravb: fix software timestamping (diff)
downloadlinux-dev-ac71b46efd2838c02ec193987c8f61c3ba33b495.tar.xz
linux-dev-ac71b46efd2838c02ec193987c8f61c3ba33b495.zip
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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h')
0 files changed, 0 insertions, 0 deletions