git: tcp: Save faddr/fport before lport selection.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Dec 25 03:36:30 PST 2016


commit 87a342e7f66d7eab1e4501286eb15b777f3fad33
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Dec 25 19:19:49 2016 +0800

    tcp: Save faddr/fport before lport selection.
    
    So that the inpcb installed onto the lport hash can have correct
    4-tuple.  Reminded by the "Problem #2" in the following FreeBSD PR:
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=174087

Summary of changes:
 sys/netinet/tcp_usrreq.c | 27 +++++++++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/87a342e7f66d7eab1e4501286eb15b777f3fad33


-- 
DragonFly BSD source repository



More information about the Commits mailing list