summaryrefslogtreecommitdiffstats
path: root/usr.bin/split
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-08-30 09:51:54 +0000
committerglebius <glebius@FreeBSD.org>2005-08-30 09:51:54 +0000
commitd066ce1d4bdc71ea45d98ddec665cb97502585ae (patch)
tree629cfb6921fb5339a29f6a2264dcfbaf07b20749 /usr.bin/split
parent37e64fd444cca4bb35a47f956fc4cb5ce547948f (diff)
downloadFreeBSD-src-d066ce1d4bdc71ea45d98ddec665cb97502585ae.zip
FreeBSD-src-d066ce1d4bdc71ea45d98ddec665cb97502585ae.tar.gz
Lock down PPTP node, since it has many data structures, that won't survive
parallel ng_pptp_rcvdata(): - Add a per-node mutex. - Acquire mutex during all ng_pptp_rcvdata() method. - Make callouts protected by mutex. Now callouts count as netgraph writers, but there are plans to allow reader callouts for nodes, that have internal locking. - Acquire mutex in ng_pptp_reset(), which can be triggered by a message or node shutdown. PR: kern/80035 Tested by: Deomid Ryabkov <myself rojer.pp.ru> Reviewed by: Deomid Ryabkov <myself rojer.pp.ru>
Diffstat (limited to 'usr.bin/split')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud