diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-10-07 16:07:06 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-07 16:07:07 -0700 |
| commit | 6a8b493c68e079d63586860e772a7e7eea3b2ea0 (patch) | |
| tree | 4b483b26d5e9de40df8f688a6db9f551be4cfcd9 /include/linux | |
| parent | 45ad84d2800e4a092fb8d96006a533b2d0ab13f6 (diff) | |
| parent | 023753192e3c2089f5236ad758b59e52fad4ead0 (diff) | |
Merge branch 'neighbour-add-ipv4-ipv6-specific-wrappers-for-neigh_lookup-and-friends'
Kuniyuki Iwashima says:
====================
neighbour: Add IPv4/IPv6-specific wrappers for neigh_lookup() and friends.
syzbot reported that ip6_finish_output2() could pass tbl and dev
from different netns to neigh_create().
When namespacifying neigh_table, I chose to resolve neigh_table
in callers to minimise changes, but it turned out to be error-prone.
This series adds IPv4/IPv6-specific helpers for neigh_lookup()
and neigh_create() that always fetch the netns from dev to fix
the problem.
Along the way, the confusing and now mostly redundant helpers
__neigh_lookup() and __neigh_lookup_errno() are converted and
removed.
====================
Link: https://patch.msgid.link/20261003212336.1304988-1-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
