fib: cleanups
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 9 Sep 2010 23:32:28 +0000 (23:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Sep 2010 19:32:02 +0000 (12:32 -0700)
commita034ee3cca5726b14107f281f4bed1c0fd44472a
tree09e4ccf3da1377aea06771357b216a1b372c6687
parent4642610c77b345130d6b5a08c75d23ad98601fd5
fib: cleanups

Use rcu_dereference_rtnl() helper

Change hard coded constants in fib_flag_trans()
 7 -> RTN_UNREACHABLE
 8 -> RTN_PROHIBIT

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c