]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do not go one layer down to check ifqueue length. First, not all drivers
authorGleb Smirnoff <glebius@FreeBSD.org>
Mon, 12 Jan 2015 14:52:43 +0000 (14:52 +0000)
committerGleb Smirnoff <glebius@FreeBSD.org>
Mon, 12 Jan 2015 14:52:43 +0000 (14:52 +0000)
commitffec6ee52747c31748c2149cb6aa7c72e8352490
tree17893f3d9e0d3b40562d648fc0044120339fc01e
parentcb41a56d2750a47f180cc91f565e1fa768b6f714
Do not go one layer down to check ifqueue length. First, not all drivers
use ifqueue at all. Second, there is no point in this lockless check.
Either positive or negative result of the check could be incorrect after
a tick.

Sponsored by: Nginx, Inc.
sys/netinet6/ip6_output.c