ifq_hdatalen can return 0 if ifq_empty is true, which avoids locks.
authordlg <dlg@openbsd.org>
Fri, 9 Jul 2021 01:22:05 +0000 (01:22 +0000)
committerdlg <dlg@openbsd.org>
Fri, 9 Jul 2021 01:22:05 +0000 (01:22 +0000)
commit01ae73c5eb2d059ceb1d1734f72282cefb78d440
tree24e3bbc7dd797a6801f3a2c2579e9f1bd693ab5f
parentcde4819c4b1bc95accdaf278cde7ad3924c076b1
ifq_hdatalen can return 0 if ifq_empty is true, which avoids locks.
sys/net/ifq.c