summaryrefslogtreecommitdiffstats
path: root/contrib/gcclibs/libcpp
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2013-12-14 01:35:57 +0000
committerian <ian@FreeBSD.org>2013-12-14 01:35:57 +0000
commit38c5c4197ff5036bf7bcfb68e8195d653fd036ca (patch)
treef2e309d739271768137c4701861a5b44a7959e6e /contrib/gcclibs/libcpp
parent6af39cbc397fecce9523f7c04f6dfd42b62c8bfb (diff)
downloadFreeBSD-src-38c5c4197ff5036bf7bcfb68e8195d653fd036ca.zip
FreeBSD-src-38c5c4197ff5036bf7bcfb68e8195d653fd036ca.tar.gz
MFC r259212, r259220:
Fix one race and one fence post error. When the TX buffer was completely full, we'd not complete any of the mbufs due to the fence post error (this creates a large leak). When this is fixed, we still leak, but at a much smaller rate due to a race between ateintr and atestart_locked as well as an asymmetry where atestart_locked is called from elsewhere. Ensure that we free in-flight packets that have completed there as well. Also remove needless check for NULL on mb, checked earlier in the loop and simplify a redundant if.
Diffstat (limited to 'contrib/gcclibs/libcpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud