diff options
author | glebius <glebius@FreeBSD.org> | 2005-08-30 09:51:54 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-08-30 09:51:54 +0000 |
commit | d066ce1d4bdc71ea45d98ddec665cb97502585ae (patch) | |
tree | 629cfb6921fb5339a29f6a2264dcfbaf07b20749 /usr.bin/split | |
parent | 37e64fd444cca4bb35a47f956fc4cb5ce547948f (diff) | |
download | FreeBSD-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