summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2020-04-22 17:29:50 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-23 12:39:09 -0700
commitcc8e7c69db4dcc565ed3020f97ddd6debab6cbe8 (patch)
treeecde45a3e6eeaca368f4c119b61b9847a8bc6005 /scripts/gdb/linux/proc.py
parentc391eb8366ae052d571bb2841f1ccb4d39f3ceb8 (diff)
vxlan: use the correct nlattr array in NL_SET_ERR_MSG_ATTR
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>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions