git: inpcb: Add in_pcb{link, unlink}_flags() to bypass INP_WILDCARD check

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Sep 28 06:14:36 PDT 2014


commit b55ecf7e9153a6f09e19ba912f0837f75bd4c108
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Sep 22 19:27:07 2014 +0800

    inpcb: Add in_pcb{link,unlink}_flags() to bypass INP_WILDCARD check
    
    It is safe to change the inpcb's pcblist while the it is still referenced
    by the wildcard hash.

Summary of changes:
 sys/netinet/in_pcb.c | 20 ++++++++++++++++----
 sys/netinet/in_pcb.h |  2 ++
 2 files changed, 18 insertions(+), 4 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list