DragonFly commits List (threaded) for 2011-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Change mbuf allocation in tapwrite/tunwrite path to blocking
commit 0f9e55b1061457d40a93e39bf88ec59f010fc856
Author: Matthew Dillon <dillon@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]