From 0e1b37b273280405bf40e454eb623f82761a2036 Mon Sep 17 00:00:00 2001 From: mvs Date: Tue, 31 Jan 2023 11:47:35 +0000 Subject: [PATCH] Route lock was reverted, adjust forgotten commentary. No functional changes. --- sys/netinet/if_ether.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index f2440ce9efb..6a68a6d8d81 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.c,v 1.254 2023/01/28 10:17:16 mvs Exp $ */ +/* $OpenBSD: if_ether.c,v 1.255 2023/01/31 11:47:35 mvs Exp $ */ /* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */ /* @@ -414,7 +414,7 @@ arpresolve(struct ifnet *ifp, struct rtentry *rt0, struct mbuf *m, KERNEL_LOCK(); /* - * Re-check since we grab the route lock after the first check. + * Re-check since we grab the kernel lock after the first check. * rtrequest_delete() can be called with shared netlock. From * there arp_rtrequest() is reached which touches RTF_LLINFO * and rt_llinfo. As this is called with route lock we grab the -- 2.20.1