summaryrefslogtreecommitdiff
path: root/net/ipv4/xfrm4_state.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-01-15 10:09:56 +0300
committerDavid S. Miller <davem@davemloft.net>2008-01-29 02:02:13 +0300
commit28d36e3702fcbed73c38e877bcf2a8f8946b7f3d (patch)
treee06248b21566229ec99f0ca9249d1deff6f467d9 /net/ipv4/xfrm4_state.c
parent39a6d06300128d32f361f4f790beba0ca83730eb (diff)
downloadlinux-28d36e3702fcbed73c38e877bcf2a8f8946b7f3d.tar.xz
[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@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_state.c')
0 files changed, 0 insertions, 0 deletions