Module Name: src Committed By: ozaki-r Date: Mon Sep 25 01:56:22 UTC 2017
Modified Files: src/sys/net: raw_cb.c raw_cb.h raw_usrreq.c rtsock.c src/sys/netipsec: keysock.c Log Message: Fix race condition on the rawcb list shared by rtsock and keysock keysock now protects itself by its own mutex, which means that the rawcb list is protected by two different mutexes (keysock's one and softnet_lock for rtsock), of course it's useless. Fix the situation by having a discrete rawcb list for each. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/net/raw_cb.c cvs rdiff -u -r1.27 -r1.28 src/sys/net/raw_cb.h cvs rdiff -u -r1.56 -r1.57 src/sys/net/raw_usrreq.c cvs rdiff -u -r1.227 -r1.228 src/sys/net/rtsock.c cvs rdiff -u -r1.60 -r1.61 src/sys/netipsec/keysock.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.