git: kernel - Change mbuf allocation in tapwrite/tunwrite path to blocking
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Sat Mar 26 15:19:05 PDT 2011
    
    
  
commit 0f9e55b1061457d40a93e39bf88ec59f010fc856
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Mar 26 15:15:34 2011 -0700
    kernel - Change mbuf allocation in tapwrite/tunwrite path to blocking
    
    * Tapwrite and tunwrite are called via userland, a blocking mbuf allocation
      is perfectly acceptable here and avoids dropping packets unnecessarily.
    
    * Fixes numerous spurious packet drops when using TAP or TUN, for example
      with openvpn.
    
    * Minor code cleanup in if_tap.c
Summary of changes:
 sys/net/tap/if_tap.c |   12 +++++++-----
 sys/net/tun/if_tun.c |    6 +++---
 2 files changed, 10 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0f9e55b1061457d40a93e39bf88ec59f010fc856
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list