]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nd6: Mark several callouts as MPSAFE
authorMark Johnston <markj@FreeBSD.org>
Mon, 9 Aug 2021 17:21:43 +0000 (13:21 -0400)
committerMark Johnston <markj@FreeBSD.org>
Mon, 16 Aug 2021 13:01:11 +0000 (09:01 -0400)
commit75c0e1a8e073f1d5a89b863c84f4db3ccd042b64
tree3687761b337fc9ec676649311ea61efa132297fc
parentf8cb59615252f38ad0855abfcd01fd564a7c4862
nd6: Mark several callouts as MPSAFE

The use of Giant here is vestigal and does not provide any useful
synchronization.  Furthermore, non-MPSAFE callouts can cause the
softclock threads to block waiting for long-running newbus operations to
complete.

Reported by: mav
Reviewed by: bz
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 663428ea17e3a81f4c514d2571b90a13c065b1e8)
sys/netinet6/in6_ifattach.c
sys/netinet6/nd6.c