git: uipc: Consolidate unp_drop()

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Nov 4 17:46:26 PST 2015


commit 8754d0c668ce26cd4c3240ddda3388b7a3dc4c4f
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Nov 5 09:43:28 2015 +0800

    uipc: Consolidate unp_drop()
    
    And unlink unp from the global unp list in unp_drop(); this is intended
    to address following problems:
    - Detached unps are listed by netstat/sockstat.
    - Unp can not be referenced during unp global list iteration.

Summary of changes:
 sys/kern/uipc_usrreq.c | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8754d0c668ce26cd4c3240ddda3388b7a3dc4c4f


-- 
DragonFly BSD source repository


More information about the Commits mailing list