Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net remove obsoleted comment. pointed out by s-yamaguchi...



details:   https://anonhg.NetBSD.org/src/rev/20e54c8056fe
branches:  trunk
changeset: 824295:20e54c8056fe
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Wed May 31 08:19:44 2017 +0000

description:
remove obsoleted comment. pointed out by s-yamaguchi@IIJ.

diffstat:

 sys/net/if_l2tp.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 0bea31fd8a29 -r 20e54c8056fe sys/net/if_l2tp.h
--- a/sys/net/if_l2tp.h Wed May 31 05:05:38 2017 +0000
+++ b/sys/net/if_l2tp.h Wed May 31 08:19:44 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_l2tp.h,v 1.1 2017/02/16 08:23:35 knakahara Exp $    */
+/*     $NetBSD: if_l2tp.h,v 1.2 2017/05/31 08:19:44 knakahara Exp $    */
 
 /*
  * Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -201,8 +201,8 @@
  *   NOTICE
  *   - l2tp_softc must not have a variant value while the l2tp tunnel exists.
  *     Such variant values must be in l2tp_softc->l2tp_var.
- *   - l2tp_softc->l2tp_var is modified by atomic_swap_ptr() like
- *     read-copy-update. So, once we dereference l2tp_softc->l2tp_var, we must
+ *   - l2tp_softc->l2tp_var is modified like read-copy-update.
+ *     So, once we dereference l2tp_softc->l2tp_var, we must
  *     keep the pointer during the same context. If we re-derefence
  *     l2tp_softc->l2tp_var, the l2tp_var may be other one because of
  *     concurrent writer processing.



Home | Main Index | Thread Index | Old Index