git: udp: Fix "unconnect" and cleanup connect

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Jun 18 06:21:39 PDT 2014


commit fbfbcd3a70a0279728c98bc498f7b12e1b17ac30
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Wed Jun 18 21:18:45 2014 +0800

    udp: Fix "unconnect" and cleanup connect
    
    Put udp inpcb into wildcard hash in pru_disconnect method.  This restores
    the old behaviour of traditional BSD "unconnect".
    
    Clean up pru_connect after fixing the "unconnect" support; in preparation
    for distributing udp inpcb across netisrs.

Summary of changes:
 sys/netinet/udp_usrreq.c | 76 ++++++++++++++++++++++++++++--------------------
 1 file changed, 45 insertions(+), 31 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list