]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r259212, r259220:
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Dec 2013 01:35:57 +0000 (01:35 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Dec 2013 01:35:57 +0000 (01:35 +0000)
commit933a00daa79fdd23442fe5554f9302425a873529
treef2e309d739271768137c4701861a5b44a7959e6e
parentdff3a5645a2a57618a9e354d4a5483aecea67d23
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@259381 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/at91/if_ate.c