git: inpcb: Add function to set inpcbinfo's portinfo.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Apr 14 06:37:45 PDT 2017


commit aa35ea434599346715d02a2ebd89f335b4722bf5
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Apr 14 13:34:16 2017 +0800

    inpcb: Add function to set inpcbinfo's portinfo.
    
    This unbreaks inpcbinfo.portinfo_mask -> inpcbinfo.portinfo_cnt
    conversion for divert inpcbs (unused by rip inpcbs).

Summary of changes:
 sys/netinet/in_pcb.c     | 10 ++++++++++
 sys/netinet/in_pcb.h     |  1 +
 sys/netinet/ip_divert.c  |  2 +-
 sys/netinet/raw_ip.c     |  2 +-
 sys/netinet/tcp_subr.c   |  3 +--
 sys/netinet/udp_usrreq.c |  3 +--
 6 files changed, 15 insertions(+), 6 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list