DragonFly BSD
DragonFly commits List (threaded) for 2013-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: ifq: Add ifsq_poll_pktlen, which calculate the polled mbuf's length


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 4 Jun 2013 02:04:59 -0700 (PDT)

commit 13f46fca389eb46a1089c5aad9419df04bdaf60d
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Tue Jun 4 17:09:07 2013 +0800

    ifq: Add ifsq_poll_pktlen, which calculate the polled mbuf's length
    
    Calculating the polled mbuf's length w/o ALTQ lock is not MPSAFE.

Summary of changes:
 sys/net/ifq_var.h    | 19 +++++++++++++++++++
 sys/net/tap/if_tap.c | 11 +++++------
 sys/net/tun/if_tun.c | 12 ++----------
 3 files changed, 26 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/13f46fca389eb46a1089c5aad9419df04bdaf60d


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]