看板 DFBSD_commit 關於我們 聯絡資訊
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