git: jme: Fix the race on the RX path against hardware for jumbo frames

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Jun 12 01:04:39 PDT 2012


commit 9d4f763dc4015db4724632fe3242f081a37882e9
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Jun 12 14:22:13 2012 +0800

    jme: Fix the race on the RX path against hardware for jumbo frames
    
    Hardware will not clear OWN bit except the first RX desc, so its
    following RX desc's OWN bit should be cleared before set the OWN
    bit on the first RX desc again, i.e. before the first RX desc get
    reused.

Summary of changes:
 sys/dev/netif/jme/if_jme.c |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9d4f763dc4015db4724632fe3242f081a37882e9


-- 
DragonFly BSD source repository





More information about the Commits mailing list