aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/ibmasm/ibmasmfs.c
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2010-05-28 06:42:43 -0400
committerDavid S. Miller <davem@davemloft.net>2010-05-28 06:42:43 -0400
commit045de01a174d9f0734f657eb4b3313d89b4fd5ad (patch)
treeda3250d65f4851e11446af9df34152144914662d /drivers/misc/ibmasm/ibmasmfs.c
parent8ca9418350eccd5dd2659931807c1901224dd638 (diff)
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/misc/ibmasm/ibmasmfs.c')
0 files changed, 0 insertions, 0 deletions
d='n271' href='#n271'>271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332











































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
‰PNG