]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
This patch improves fine-grained locking for the ng_ppp node.
authorAlexander Motin <mav@FreeBSD.org>
Wed, 1 Aug 2007 20:38:37 +0000 (20:38 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Wed, 1 Aug 2007 20:38:37 +0000 (20:38 +0000)
commite89c1507758b926452729bdbdfee166db07068a9
tree11e3cb218b12d510b02af9be6681903be4d6cbdf
parent1b2d5599a5b165627d479fcd093c53d92e0ea012
This patch improves fine-grained locking for the ng_ppp node.
Till now node's transmit path was completely unprotected
and so wasn't thread safe in multilink mode. It's receive path was
declared as WRITER as the simpliest protection method but it
reduces performance when compression or encryption enabled.

Approved by: re (rwatson), glebius (mentor)
sys/netgraph/ng_ppp.c