[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <478BB78F.8060609@cosmosbay.com>
Date: Mon, 14 Jan 2008 20:27:11 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: David Miller <davem@...emloft.net>
Cc: Robert Olsson <Robert.Olsson@...a.slu.se>, netdev@...r.kernel.org
Subject: [FIB]: Avoid using static variables without proper locking
fib_trie_seq_show() uses two helper functions, rtn_scope() and
rtn_type() that can
write to static storage without locking.
Just pass to them a temporary buffer to avoid potential corruption
(probably not triggerable but still...)
Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
View attachment "fib_trie.patch" of type "text/plain" (1937 bytes)
Powered by blists - more mailing lists