cvs commit: src/sys/netgraph ng_ppp.c

Alexander Motin mav at FreeBSD.org
Wed Aug 1 20:38:38 UTC 2007


mav         2007-08-01 20:38:38 UTC

  FreeBSD src repository

  Modified files:
    sys/netgraph         ng_ppp.c 
  Log:
  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)
  
  Revision  Changes    Path
  1.68      +137 -68   src/sys/netgraph/ng_ppp.c


More information about the cvs-src mailing list