]> www.infradead.org Git - users/jedix/linux-maple.git/commit
neighbour: Remove NEIGH_DN_TABLE.
authorKuniyuki Iwashima <kuniyu@amazon.com>
Mon, 14 Oct 2024 23:52:16 +0000 (16:52 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 16 Oct 2024 00:46:30 +0000 (17:46 -0700)
commit95b3120a485f77a9bb8060bf3398311e3dcb6c65
tree7d90905df50a5e90eb53cb4c6341581e055e8e2c
parent068f3b34c5c2be5fe7923a9966c1c16f992a2f9c
neighbour: Remove NEIGH_DN_TABLE.

Since commit 1202cdd66531 ("Remove DECnet support from kernel"),
NEIGH_DN_TABLE is no longer used.

MPLS has implicit dependency on it in nla_put_via(), but nla_get_via()
does not support DECnet.

Let's remove NEIGH_DN_TABLE.

Now, neigh_tables[] has only 2 elements and no extra iteration
for DECnet in many places.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20241014235216.10785-1-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/neighbour.h
net/mpls/af_mpls.c