git: ethernet: Allow netisr handler to run directly

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Jul 24 04:57:00 PDT 2011


commit ebe4c2aed5905a679fc6d17112e471f23bb804af
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Jul 24 19:50:08 2011 +0800

    ethernet: Allow netisr handler to run directly
    
    If the packet has already reach the correct netisr, we could simply call
    the netisr handler instead of requeue the packet.

Summary of changes:
 sys/net/if_ethersubr.c |   25 ++++++++++++++++++++++++-
 sys/net/netisr.c       |   40 ++++++++++++++++++++++++++++++++++++++++
 sys/net/netisr.h       |    1 +
 3 files changed, 65 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ebe4c2aed5905a679fc6d17112e471f23bb804af


-- 
DragonFly BSD source repository





More information about the Commits mailing list