Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   ozaki-r
Date:           Thu Jul 27 09:53:57 UTC 2017

Modified Files:
        src/sys/net: raw_cb.c
        src/sys/netipsec: key.c keysock.c keysock.h

Log Message:
Let PF_KEY socks hold their own lock instead of softnet_lock

Operations on SAD and SPD are executed via PF_KEY socks. The operations
include deletions of SAs and SPs that will use synchronization mechanisms
such as pserialize_perform to wait for references to SAs and SPs to be
released. It is known that using such mechanisms with holding softnet_lock
causes a dead lock. We should avoid the situation.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/net/raw_cb.c
cvs rdiff -u -r1.195 -r1.196 src/sys/netipsec/key.c
cvs rdiff -u -r1.58 -r1.59 src/sys/netipsec/keysock.c
cvs rdiff -u -r1.9 -r1.10 src/sys/netipsec/keysock.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index