git: ifq: Add ifsq_poll_pktlen, which calculate the polled mbuf's length
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Tue Jun 4 02:04:59 PDT 2013
commit 13f46fca389eb46a1089c5aad9419df04bdaf60d
Author: Sepherosa Ziehau <sephe at 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
More information about the Commits
mailing list