aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/davicom
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2014-08-08 16:44:32 +0200
committerDavid S. Miller <davem@davemloft.net>2014-08-08 10:28:09 -0700
commit945a36761fd7877660f630bbdeb4ff9ff80d1935 (patch)
treed65de4ab6ce3c4bb6c84adc9069cbef1f0175bbb /drivers/net/ethernet/davicom
parentfec_mpc52xx: delete unneeded test before of_node_put (diff)
downloadlinux-dev-945a36761fd7877660f630bbdeb4ff9ff80d1935.tar.xz
linux-dev-945a36761fd7877660f630bbdeb4ff9ff80d1935.zip
rtnetlink: fix VF info size
Commit 1d8faf48c74b8 ("net/core: Add VF link state control") added new attribute to IFLA_VF_INFO group in rtnl_fill_ifinfo but did not adjust size of the allocated memory in if_nlmsg_size/rtnl_vfinfo_size. As the result, we may trigger warnings in rtnl_getlink and similar functions when many VF links are enabled, as the information does not fit into the allocated skb. Fixes: 1d8faf48c74b8 ("net/core: Add VF link state control") Reported-by: Yulong Pei <ypei@redhat.com> Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/davicom')
0 files changed, 0 insertions, 0 deletions