git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39a6d06
)
[FIB]: Avoid using static variables without proper locking
author
Eric Dumazet
<dada1@cosmosbay.com>
Tue, 15 Jan 2008 07:09:56 +0000
(23:09 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 23:02:13 +0000
(15:02 -0800)
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@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found