git: in_pcbbind: Rearrange local port bind/select code path.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Mar 19 04:57:59 PDT 2014


commit 3fde8eade952feccd3445cde2f59599171201ccd
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Wed Mar 19 19:52:08 2014 +0800

    in_pcbbind: Rearrange local port bind/select code path.
    
    - Group local port binding logic together.
    - Group local port auto-selecting logic together and factor out
      in_pcbsetlport().
    
    This paves way for the upcoming port token splitting.

Summary of changes:
 sys/netinet/in_pcb.c | 332 +++++++++++++++++++++++++++------------------------
 1 file changed, 179 insertions(+), 153 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3fde8eade952feccd3445cde2f59599171201ccd


-- 
DragonFly BSD source repository



More information about the Commits mailing list