git: kernel - Change mbuf allocation in tapwrite/tunwrite path t

看板DFBSD_commit作者時間15年前 (2011/03/27 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DZcbcOE (DFBSD_commit)