aboutsummaryrefslogtreecommitdiffstats
path: root/net/x25
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2020-04-22 17:29:51 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-23 12:39:09 -0700
commit9a7b5b50de8a764671ba1800fe4c52d3b7013901 (patch)
treea0a5aea9ca7101e1159e54f63b851b7d4985e1f3 /net/x25
parentvxlan: use the correct nlattr array in NL_SET_ERR_MSG_ATTR (diff)
downloadlinux-dev-9a7b5b50de8a764671ba1800fe4c52d3b7013901.tar.xz
linux-dev-9a7b5b50de8a764671ba1800fe4c52d3b7013901.zip
geneve: use the correct nlattr array in NL_SET_ERR_MSG_ATTR
IFLA_GENEVE_* attributes are in the data array, which is correctly used when fetching the value, but not when setting the extended ack. Because IFLA_GENEVE_MAX < IFLA_MAX, we avoid out of bounds array accesses, but we don't provide a pointer to the invalid attribute to userspace. Fixes: a025fb5f49ad ("geneve: 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 'net/x25')
0 files changed, 0 insertions, 0 deletions