[IPV4] fib: convert reader/writer to spinlock
authorStephen Hemminger <shemminger@osdl.org>
Tue, 29 Aug 2006 23:48:09 +0000 (16:48 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:54:13 +0000 (14:54 -0700)
commit832b4c5e184391773e462653aa862a8cab71f38d
tree46eb431ae2f0e2b58a4929bbf3363f64633f10b0
parentb14295532421c40f82ee099fdbd3d011f022e756
[IPV4] fib: convert reader/writer to spinlock

Ther is no point in using a more expensive reader/writer lock
for a low contention lock like the fib_info_lock. The only
reader case is in handling route redirects.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c