Module Name:    src
Committed By:   ozaki-r
Date:           Wed Oct 25 07:35:40 UTC 2017

Modified Files:
        src/doc: TODO.smpnet

Log Message:
Mention ec_multi*


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/doc/TODO.smpnet

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/TODO.smpnet
diff -u src/doc/TODO.smpnet:1.15 src/doc/TODO.smpnet:1.16
--- src/doc/TODO.smpnet:1.15	Thu Oct 12 03:31:39 2017
+++ src/doc/TODO.smpnet	Wed Oct 25 07:35:40 2017
@@ -1,4 +1,4 @@
-$NetBSD: TODO.smpnet,v 1.15 2017/10/12 03:31:39 ozaki-r Exp $
+$NetBSD: TODO.smpnet,v 1.16 2017/10/25 07:35:40 ozaki-r Exp $
 
 MP-safe components
 ==================
@@ -163,3 +163,12 @@ Scalability
    is O(n)
  - opencrypto(9)'s crypto_newsession()/crypto_freesession() aren't scalable
    as they are serialized by one mutex
+
+ec_multi* of ethercom
+---------------------
+
+ec_multiaddrs and ec_multicnt of struct ethercom and items listed in
+ec_multiaddrs must be protected by ec_lock.  The core of ethernet subsystem is
+already MP-safe, however, device drivers that use the data should also be fixed.
+A typical change should be to protect manipulations of the data via ETHER_*
+macros such as ETHER_FIRST_MULTI by ETHER_LOCK and ETHER_UNLOCK.

Reply via email to