summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <fmancera@suse.de>2026-03-30 15:10:33 +0300
committerJakub Kicinski <kuba@kernel.org>2026-04-01 06:10:48 +0300
commit58e416e283284c15b8daf0b2b425f43242f62b0a (patch)
tree1935f1e11f15fcd9b6a95b76b9e7a7a45299fc93 /scripts/patch-kernel
parentd7709812e13d06132ddae3d21540472ea5cb11c5 (diff)
downloadlinux-58e416e283284c15b8daf0b2b425f43242f62b0a.tar.xz
net: vxlan: check ipv6_mod_enabled() on neigh_reduce()
IPv6 must be enabled or otherwise neigh_reduce() might cause a kernel panic. This was prevented by a check on in6_dev. Use ipv6_mod_enabled() instead as it is cleaner and also consistent with the code at route_shortcircuit(). Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Link: https://patch.msgid.link/20260330121033.4479-1-fmancera@suse.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions