Subject: Document ifc_list immutability

OK?

diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index 28514a0bfcd..a472c586f3c 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -78,11 +78,15 @@ struct ifnet;
 struct task;
 struct cpumem;
 
+/*
+ *  Locks used to protect struct members in this file:
+ *     I       immutable after creation
+ */
 /*
  * Structure describing a `cloning' interface.
  */
 struct if_clone {
-       LIST_ENTRY(if_clone)     ifc_list;      /* on list of cloners */
+       LIST_ENTRY(if_clone)     ifc_list;      /* [I] on list of cloners */
        const char              *ifc_name;      /* name of device, e.g. `gif' */
        size_t                   ifc_namelen;   /* length of name */
 

Reply via email to