History log of /freebsd-10.0-release/sys/arm/at91/if_ate.c
Revision Date Author Comments
# 259747 22-Dec-2013 imp

Merge from stable/10 r259381:

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.

Approved by: re@ (gjb@)


# 259747 22-Dec-2013 imp

Merge from stable/10 r259381:

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.

Approved by: re@ (gjb@)