summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2006-06-14 19:32:00 +0000
committergallatin <gallatin@FreeBSD.org>2006-06-14 19:32:00 +0000
commitebcd7ccc917c7e972076cd52cc61abd2c35119b1 (patch)
tree62538552265cb52312dd1d28994cc705c32039b9 /lib/libc
parentf49b3e3c23a8822cd9c3e43f774fbe3a57343563 (diff)
downloadFreeBSD-src-ebcd7ccc917c7e972076cd52cc61abd2c35119b1.zip
FreeBSD-src-ebcd7ccc917c7e972076cd52cc61abd2c35119b1.tar.gz
Much to my surprise, IFQ_DRV_DEQUEUE() can return a null mbuf even if
!IFQ_DRV_IS_EMPTY(). Taking this into account, I re-structured the transmit routine so as to avoid adding another if/then in the critical path. Thanks to brueffer for showing my how to test with altq/pf.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud