summaryrefslogtreecommitdiff
path: root/include/net/nfc
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2025-09-01 20:37:26 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-24 10:29:32 +0100
commit7816b60922c8b210638d6623d7d95fa02995d14d (patch)
tree47639b7a9a098ff0b5d5c283a3ba49f30804f737 /include/net/nfc
parent2412c6aa42fc0622367ea6b84bc86f3455c04a32 (diff)
downloadlinux-7816b60922c8b210638d6623d7d95fa02995d14d.tar.gz
linux-7816b60922c8b210638d6623d7d95fa02995d14d.tar.bz2
linux-7816b60922c8b210638d6623d7d95fa02995d14d.zip
ipv6: Add sanity checks on ipv6_devconf.rpl_seg_enabled
[ Upstream commit 3d95261eeb74958cd496e1875684827dc5d028cc ] In ipv6_rpl_srh_rcv() we use min(net->ipv6.devconf_all->rpl_seg_enabled, idev->cnf.rpl_seg_enabled) is intended to return 0 when either value is zero, but if one of the values is negative it will in fact return non-zero. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Link: https://patch.msgid.link/20250901123726.1972881-3-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/nfc')
0 files changed, 0 insertions, 0 deletions