git: inpcb: Don't rely on ncpus2 for local port allocation.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Apr 13 01:33:56 PDT 2017


commit 16db446e752b3626bb4b46663904544c529b7ffd
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Apr 13 00:46:17 2017 +0800

    inpcb: Don't rely on ncpus2 for local port allocation.

Summary of changes:
 sys/netinet/in_pcb.c     | 40 +++++++++++++++++++++-------------------
 sys/netinet/in_pcb.h     |  2 +-
 sys/netinet/tcp_subr.c   |  2 +-
 sys/netinet/udp_usrreq.c |  2 +-
 sys/netinet6/in6_pcb.c   |  4 ++--
 sys/netinet6/in6_src.c   | 10 +++++-----
 6 files changed, 31 insertions(+), 29 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/16db446e752b3626bb4b46663904544c529b7ffd


-- 
DragonFly BSD source repository


More information about the Commits mailing list