diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2020-04-22 17:29:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-29 16:33:11 +0200 |
commit | ace87b487a5f107dfaff54ba9f3e146bca107b64 (patch) | |
tree | 330fe884cfb187e4ac80fb5079b1c80cf4807c4c /net | |
parent | b977fe1c9e80abd302eef1dc44f8b114a4b61382 (diff) |
geneve: use the correct nlattr array in NL_SET_ERR_MSG_ATTR
[ Upstream commit 9a7b5b50de8a764671ba1800fe4c52d3b7013901 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions