diff options
author | Alexander Duyck <alexander.h.duyck@redhat.com> | 2015-03-04 15:02:44 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-04 23:35:18 -0500 |
commit | a7e53531234dc206bb75abb5305a72665dd4d75d (patch) | |
tree | 015a31ddf3a8d54491a04549adf3e3471dbb8943 /usr | |
parent | 41b489fd6ce03e96e90fcffdb69b168065ae2e40 (diff) |
fib_trie: Make fib_table rcu safe
The fib_table was wrapped in several places with an
rcu_read_lock/rcu_read_unlock however after looking over the code I found
several spots where the tables were being accessed as just standard
pointers without any protections. This change fixes that so that all of
the proper protections are in place when accessing the table to take RCU
replacement or removal of the table into account.
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions