cvs commit: src/sys/netinet if_ether.c

From:

Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>

Date:

Sun, 9 Nov 2008 02:18:42 -0800 (PST)

sephe 2008/11/09 02:18:42 PST
DragonFly src repository
Modified files:
sys/netinet if_ether.c
Log:
- During ARP resolving, current thread msgport or current CPU's netisr msgport
(if current is not TDF_NETWORK) is recorded in addition to the mbuf.
- When ARP resolving is finished, the recorded mbuf is dispatched to the
recorded msgport to do network output using priority message.
This eliminates the last network output in route threads.
Reviewed-by: dillon@
Revision Changes Path
1.58 +51 -2 src/sys/netinet/if_ether.c
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/if_ether.c.diff?r1=1.57&r2=1.58&f=u