git: inpcb: Unbreak SO_REUSEPORT support.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Nov 15 07:06:36 PST 2015


commit c257fd0a2d26000fdeb258086a71c9995202bf81
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Nov 15 22:58:53 2015 +0800

    inpcb: Unbreak SO_REUSEPORT support.
    
    inp_lport must not be whacked when inpcb is removed from local
    port hash, since the inp_lport will be used to locate local group
    Use inp_phd instead to detect whether the inpcb is on local port
    hash or not.
    
    This is a bug introduced by part of:
    296c350d3c63a181744b80a4b7973dac5fc162a3

Summary of changes:
 sys/netinet/in_pcb.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c257fd0a2d26000fdeb258086a71c9995202bf81


-- 
DragonFly BSD source repository


More information about the Commits mailing list