diff options
author | Scott Feldman <scofeldm@cisco.com> | 2010-05-28 14:42:43 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-28 14:42:43 +0400 |
commit | 045de01a174d9f0734f657eb4b3313d89b4fd5ad (patch) | |
tree | da3250d65f4851e11446af9df34152144914662d /drivers/video/platinumfb.c | |
parent | 8ca9418350eccd5dd2659931807c1901224dd638 (diff) | |
download | linux-045de01a174d9f0734f657eb4b3313d89b4fd5ad.tar.xz |
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/video/platinumfb.c')
0 files changed, 0 insertions, 0 deletions