DragonFly-2.1.1.159.gc244d master sys/net/bridge if_bridge.c sys/net/ipfw ip_fw2.c sys/net netisr.c netisr.h sys/netinet if_ether.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Dec 27 00:05:48 PST 2008


commit c244d61358af00df27ca802443abc513c24bd742
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Dec 27 15:55:04 2008 +0800

    Factor out 'curnetport'
    This macro returns the current thread's msgport, if the current thread
    is a network protocol thread, else the current CPU's netisr msgport is
    returned; the latter case should be fixed.

Summary of changes:
 sys/net/bridge/if_bridge.c |    7 +------
 sys/net/ipfw/ip_fw2.c      |   15 +--------------
 sys/net/netisr.c           |   14 ++++++++++++++
 sys/net/netisr.h           |    3 +++
 sys/netinet/if_ether.c     |    5 +----
 5 files changed, 20 insertions(+), 24 deletions(-)

http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=c244d61358af00df27ca802443abc513c24bd742


-- 
DragonFly BSD source repository





More information about the Commits mailing list