summaryrefslogtreecommitdiffstats
path: root/net/decnet/Kconfig
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2010-05-28 03:42:18 -0700
committerDavid S. Miller <davem@davemloft.net>2010-05-28 03:42:18 -0700
commit8ca9418350eccd5dd2659931807c1901224dd638 (patch)
tree2b476e5a084de1da3cb68dbddcce80c0c917578a /net/decnet/Kconfig
parent50636af715ac1ceb1872bd29a4bdcc68975c3263 (diff)
downloadblackbird-op-linux-8ca9418350eccd5dd2659931807c1901224dd638.tar.gz
blackbird-op-linux-8ca9418350eccd5dd2659931807c1901224dd638.zip
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>
Diffstat (limited to 'net/decnet/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud