]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libalias: Remove unused function LibAliasCheckNewLink
authorLutz Donnerhacke <donner@FreeBSD.org>
Sat, 15 May 2021 13:24:12 +0000 (15:24 +0200)
committerLutz Donnerhacke <donner@FreeBSD.org>
Mon, 31 May 2021 10:53:57 +0000 (12:53 +0200)
commitbfd41ba1fe1d0e40b6a813aeb0354cac8d884f5b
tree1c47ed2dd5f95e5d0bfad7eed4e961898ce4a78c
parentd40cd26a86a79342d175296b74768dd7183fc02b
libalias: Remove unused function LibAliasCheckNewLink

The functionality to detect a newly created link after processing a
single packet is decoupled from the packet processing.  Every new
packet is processed asynchronously and will reset the indicator, hence
the function is unusable.  I made a Google search for third party code,
which uses the function, and failed to find one.

That's why the function should be removed: It unusable and unused.
A much simplified API/ABI will remain in anything below 14.

Discussed with: kp
Reviewed by: manpages (bcr)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30275
sys/netinet/libalias/alias.c
sys/netinet/libalias/alias.h
sys/netinet/libalias/alias_db.c
sys/netinet/libalias/alias_local.h
sys/netinet/libalias/libalias.3