diff options
author | Mintz, Yuval <[email protected]> | 2017-06-07 21:00:33 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-06-08 10:58:02 -0400 |
commit | 0eed9cf58446b28b233388b7f224cbca268b6986 (patch) | |
tree | ee130169c37ed56a1be14d4f76f5d677f92d655b /net/unix/af_unix.c | |
parent | dd0da17b209ed91f39872766634ca967c170ada1 (diff) |
net: Zero ifla_vf_info in rtnl_fill_vfinfo()
Some of the structure's fields are not initialized by the
rtnetlink. If driver doesn't set those in ndo_get_vf_config(),
they'd leak memory to user.
Signed-off-by: Yuval Mintz <[email protected]>
CC: Michal Schmidt <[email protected]>
Reviewed-by: Greg Rose <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions