From: Eric Dumazet Date: Tue, 15 Jan 2008 07:09:56 +0000 (-0800) Subject: [FIB]: Avoid using static variables without proper locking X-Git-Tag: v2.6.25-rc1~1162^2~744 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28d36e3702fcbed73c38e877bcf2a8f8946b7f3d;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed