Files
android_kernel_xiaomi_sm8450/net/core
Jiri Benc 945a36761f rtnetlink: fix VF info size
Commit 1d8faf48c7 ("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: 1d8faf48c7 ("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>
2014-08-08 10:28:09 -07:00
..
2014-06-25 17:41:44 -07:00
2014-05-22 14:57:15 -04:00
2014-07-08 20:50:53 -07:00
2014-08-08 10:28:09 -07:00
2014-06-02 11:00:41 -07:00
2014-08-05 16:35:54 -07:00
2014-07-07 16:57:09 -07:00