DragonFly BSD
DragonFly commits List (threaded) for 2010-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: network - Fix bug in redispatch after PF translation


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Sep 2010 10:13:54 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]