Revision cc8e7c69db4dcc565ed3020f97ddd6debab6cbe8 authored by Sabrina Dubroca on 22 April 2020, 15:29:50 UTC, committed by David S. Miller on 23 April 2020, 19:39:09 UTC
IFLA_VXLAN_* attributes are in the data array, which is correctly
used when fetching the value, but not when setting the extended
ack. Because IFLA_VXLAN_MAX < IFLA_MAX, we avoid out of bounds
array accesses, but we don't provide a pointer to the invalid
attribute to userspace.

Fixes: 653ef6a3e4af ("vxlan: change vxlan_[config_]validate() to use netlink_ext_ack for error reporting")
Fixes: b4d3069783bc ("vxlan: Allow configuration of DF behaviour")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c391eb8
History
File Mode Size
include
.gitignore -rw-r--r-- 94 bytes
Kconfig -rw-r--r-- 7.1 KB
Makefile -rw-r--r-- 2.9 KB
default_cpio_list -rw-r--r-- 153 bytes
gen_init_cpio.c -rw-r--r-- 12.8 KB
gen_initramfs.sh -rwxr-xr-x 5.7 KB
initramfs_data.S -rw-r--r-- 1.2 KB

back to top