git: network - Fix bug in redispatch after PF translation

看板DFBSD_commit作者時間15年前 (2010/09/24 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 76c4458a81ce92e4b25da4c5faba0e0a8f511906 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Sep 23 10:11:23 2010 -0700 network - Fix bug in redispatch after PF translation * ip_input() checks M_HASH after PF/firewall processing and recalculates the protocol port if necessary. ip_input() was improperly restoring ip_len when doing the re-check, causing TCP packets destined for the local host to be dropped. This caused NAT translations with local terminations to fail. Summary of changes: sys/netinet/ip_input.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/76c4458a81ce92e4b25da4c5faba0e0a8f511906 -- DragonFly BSD source repository
文章代碼(AID): #1CcvNmCw (DFBSD_commit)