Home
last modified time | relevance | path

Searched hist:"8 ca9418350eccd5dd2659931807c1901224dd638" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Drtnetlink.cdiff 8ca9418350eccd5dd2659931807c1901224dd638 Fri May 28 05:42:18 CDT 2010 Scott Feldman <scofeldm@cisco.com> netlink: bug fix: don't overrun skbs on vf_port dump

Noticed by Patrick McHardy: was continuing to fill skb after a
nla_put_failure, ignoring the size calculated by upper layer. Now,
return -EMSGSIZE on any overruns, but also allow netdev to
fail ndo_get_vf_port with error other than -EMSGSIZE, thus unwinding
nest.

Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>