git: netgraph7: Use a shared token to protect topology changes.

Nuno Antunes nant at crater.dragonflybsd.org
Fri Jul 11 02:43:28 PDT 2014


commit dce7062e28509962bec486ee7a76f0e3e66015d7
Author: Nuno Antunes <nuno.antunes at gmail.com>
Date:   Wed Jun 18 08:22:06 2014 +0100

    netgraph7: Use a shared token to protect topology changes.
    
    * FreeBSD current uses a reader/writer lock to protect topology changes.
      Take the same approach except we use a shared token instead.

Summary of changes:
 sys/netgraph7/netgraph/ng_base.c | 35 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dce7062e28509962bec486ee7a76f0e3e66015d7


-- 
DragonFly BSD source repository



More information about the Commits mailing list