]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r368015:
authorKristof Provost <kp@FreeBSD.org>
Fri, 11 Dec 2020 14:11:41 +0000 (14:11 +0000)
committerKristof Provost <kp@FreeBSD.org>
Fri, 11 Dec 2020 14:11:41 +0000 (14:11 +0000)
commit42df5a4995fc34402e0e11924948f6714876b597
tree4fe82296cc936d1066d07275ec0ff18453112e7d
parentf441f76e11ace0098fddabd9e87bb24fbf4c50f2
MFC r368015:

if: Remove ifnet_rwlock

It no longer serves any purpose, as evidenced by the fact that we never take it
without ifnet_sxlock.

This differs slightly from r368015 in that we keep the ifnet_rwlock instance
(but no longer take the lock) in case there are external users who still take
the lock.

Sponsored by: Modirum MDPay
sys/net/if.c
sys/net/if_var.h