summaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-04-24 13:53:01 -0400
committerDavid S. Miller <davem@davemloft.net>2014-04-24 13:53:01 -0400
commitfc5e88354de53024f61d50c7fe9b5b182fc5800d (patch)
treeecff2dc9cee7be1e91d84e8db6f8491196c25d83 /net/ipv6
parenta64d90fd962c2956da7505f98a302408450365e2 (diff)
parentc53864fd60227de025cb79e05493b13f69843971 (diff)
Merge branch 'rtnetlink_vf_ports'
David Gibson says: ==================== Fix problems with with IFLA_VF_PORTS (v2) I've had a customer encounter a problem with getifaddrs(3) freezing up on a system with a Cisco enic device. I've discovered that the problem is caused by an enic device with a large number of SR-IOV virtual functions overflowing the normal sized packet buffer for netlink, leading to interfaces not being reported from an RTM_GETLINK request. The first patch here just makes the problem easier to locate if it occurs again in a different way, by adding a WARN_ON() when we run out of room in a netlink packet in this manner. The second patch actually fixes the problem, by only reporting IFLA_VF_PORTS information when the RTEXT_FILTER_VF flag is specified. v2: Corrected some CodingStyle problems ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions