summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMintz, Yuval <Yuval.Mintz@cavium.com>2017-06-07 21:00:33 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-08 10:58:02 -0400
commit0eed9cf58446b28b233388b7f224cbca268b6986 (patch)
treeee130169c37ed56a1be14d4f76f5d677f92d655b /drivers
parentdd0da17b209ed91f39872766634ca967c170ada1 (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 <Yuval.Mintz@cavium.com> CC: Michal Schmidt <mschmidt@redhat.com> Reviewed-by: Greg Rose <gvrose8192@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions