lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 26 Mar 2007 11:29:04 +0200
From:	Robert Olsson <Robert.Olsson@...a.slu.se>
To:	paulmck@...ux.vnet.ibm.com, davem@...emloft.net
Cc:	netdev@...r.kernel.org, Robert Olsson <Robert.Olsson@...a.slu.se>
Subject: Re: [PATCH] fib_hash removal



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 <robert.olsson@....uu.se>
Signed-off-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com> (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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ