Commit 9825e033 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] namespace pollution in tr.c

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  The variable rif_table should be neither global nor initialized to 0.
parent eb3484f7
......@@ -64,7 +64,7 @@ struct rif_cache_s {
* up a lot.
*/
rif_cache rif_table[RIF_TABLE_SIZE]={ NULL, };
static rif_cache rif_table[RIF_TABLE_SIZE];
static spinlock_t rif_lock = SPIN_LOCK_UNLOCKED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment