summaryrefslogtreecommitdiff
path: root/tools/testing/vma/include/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <fmancera@suse.de>2026-03-30 14:10:33 +0200
committerJakub Kicinski <kuba@kernel.org>2026-03-31 20:10:48 -0700
commit58e416e283284c15b8daf0b2b425f43242f62b0a (patch)
tree1935f1e11f15fcd9b6a95b76b9e7a7a45299fc93 /tools/testing/vma/include/git@git.tavy.me:linux.git
parentd7709812e13d06132ddae3d21540472ea5cb11c5 (diff)
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 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions