From: Yuval Mintz
Date: Wed, 7 Jun 2017 21:00:33 +0300
> 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
> CC: Michal Schmidt
Good catch, applied and queued
On 06/07/2017 11:00 AM, Yuval Mintz wrote:
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
CC: Michal Schmidt
---
net/core/rtnetlink.c | 3 ++-
1 file changed, 2 i
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
CC: Michal Schmidt
---
net/core/rtnetlink.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/c