git: 30b6990e1f2a - releng/13.2 - netlink: do not require elevated privileges when reading arp/ndp state.

From: Alexander V. Chernikov <melifaro_at_FreeBSD.org>
Date: Wed, 15 Feb 2023 16:19:14 UTC
The branch releng/13.2 has been updated by melifaro:

URL: https://cgit.FreeBSD.org/src/commit/?id=30b6990e1f2a391f7fc293fbe6763dd72eeba5cd

commit 30b6990e1f2a391f7fc293fbe6763dd72eeba5cd
Author:     Alexander V. Chernikov <melifaro@FreeBSD.org>
AuthorDate: 2023-02-09 14:12:33 +0000
Commit:     Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2023-02-15 16:18:52 +0000

    netlink: do not require elevated privileges when reading arp/ndp state.
    
    MFC after:      1 day
    Approved by:    re(cperciva)
    
    (cherry picked from commit 5a5436eb5d960b9e243f8196147c6a51ca4f9dee)
    (cherry picked from commit aff2a514adb691938a5302975dc337ee01c6c721)
---
 sys/netlink/route/neigh.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/netlink/route/neigh.c b/sys/netlink/route/neigh.c
index 9bcbb68dd375..8cd1e31ce67a 100644
--- a/sys/netlink/route/neigh.c
+++ b/sys/netlink/route/neigh.c
@@ -519,7 +519,6 @@ static const struct rtnl_cmd_handler cmd_handlers[] = {
 		.cmd = NL_RTM_GETNEIGH,
 		.name = "RTM_GETNEIGH",
 		.cb = &rtnl_handle_getneigh,
-		.priv = PRIV_NET_ROUTE,
 	}
 };