git: uipc: Don't abuse unp_conn for unconnect DGRAM unix sockets.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Aug 25 19:07:36 PDT 2015


commit 3d3093e5b45276a70e84c5fc78d0cea0186f8328
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Aug 25 22:06:57 2015 +0800

    uipc: Don't abuse unp_conn for unconnect DGRAM unix sockets.
    
    Use unp_find_lockref() to located the target unp instead.

Summary of changes:
 sys/kern/uipc_usrreq.c | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list