Paul E. McKenney writes:

 > Those of use who dive into networking only occasionally would much
 > appreciate this.  ;-)

 No problem here... 

 Cheers
                                        --ro

Acked-by: Robert Olsson <[EMAIL PROTECTED]>
Signed-off-by: Paul E. McKenney <[EMAIL PROTECTED]> (but trivial)


diff -urpNa -X dontdiff linux-2.6.20/net/ipv4/fib_trie.c 
linux-2.6.20-fn_trie_RTNL/net/ipv4/fib_trie.c
--- linux-2.6.20/net/ipv4/fib_trie.c    2007-02-04 10:44:54.000000000 -0800
+++ linux-2.6.20-fn_trie_RTNL/net/ipv4/fib_trie.c       2007-03-20 
08:13:59.000000000 -0700
@@ -1124,6 +1124,9 @@ err:
        return fa_head;
 }
 
+/*
+ * Caller must hold RTNL.
+ */
 static int fn_trie_insert(struct fib_table *tb, struct fib_config *cfg)
 {
        struct trie *t = (struct trie *) tb->tb_data;
@@ -1543,6 +1546,9 @@ static int trie_leaf_remove(struct trie 
        return 1;
 }
 
+/*
+ * Caller must hold RTNL.
+ */
 static int fn_trie_delete(struct fib_table *tb, struct fib_config *cfg)
 {
        struct trie *t = (struct trie *) tb->tb_data;
@@ -1721,6 +1727,9 @@ up:
        return NULL; /* Ready. Root of trie */
 }
 
+/*
+ * Caller must hold RTNL.
+ */
 static int fn_trie_flush(struct fib_table *tb)
 {
        struct trie *t = (struct trie *) tb->tb_data;

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to