diff options
author | ian <ian@FreeBSD.org> | 2013-12-14 01:35:57 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2013-12-14 01:35:57 +0000 |
commit | 38c5c4197ff5036bf7bcfb68e8195d653fd036ca (patch) | |
tree | f2e309d739271768137c4701861a5b44a7959e6e /contrib/gcclibs/libcpp | |
parent | 6af39cbc397fecce9523f7c04f6dfd42b62c8bfb (diff) | |
download | FreeBSD-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