summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vhost.c
diff options
context:
space:
mode:
authorScott Feldman2010-05-28 12:42:43 +0200
committerDavid S. Miller2010-05-28 12:42:43 +0200
commit045de01a174d9f0734f657eb4b3313d89b4fd5ad (patch)
treeda3250d65f4851e11446af9df34152144914662d /drivers/vhost/vhost.c
parentnetlink: bug fix: don't overrun skbs on vf_port dump (diff)
downloadkernel-qcow2-linux-045de01a174d9f0734f657eb4b3313d89b4fd5ad.tar.gz
kernel-qcow2-linux-045de01a174d9f0734f657eb4b3313d89b4fd5ad.tar.xz
kernel-qcow2-linux-045de01a174d9f0734f657eb4b3313d89b4fd5ad.zip
netlink: bug fix: wrong size was calculated for vfinfo list blob
The wrong size was being calculated for vfinfo. In one case, it was over- calculating using nlmsg_total_size on attrs, in another case, it was under-calculating by assuming ifla_vf_* structs are packed together, but each struct is it's own attr w/ hdr (and padding). Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost/vhost.c')
0 files changed, 0 insertions, 0 deletions