diff options
| author | Michael S. Tsirkin <[email protected]> | 2014-12-16 15:04:56 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-12-16 11:19:41 -0500 |
| commit | 39ec7de7092ba9789f211d112a66bd19d4cb5d36 (patch) | |
| tree | dfa9725a4c54e900c9a60999f29b0f65b72f96fd /net/switchdev/switchdev.c | |
| parent | c286bbaf4f56958db2591146145e248c7b9021c5 (diff) | |
macvtap: fix uninitialized access on TUNSETIFF
flags field in ifreq is only 16 bit wide, but
we read it as a 32 bit value.
If userspace doesn't zero-initialize unused fields,
this will lead to failures.
Signed-off-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions