ipv4: remove flush_mutex from ipv4_sysctl_rtcache_flush
authorDenis V. Lunev <den@openvz.org>
Tue, 8 Jul 2008 10:05:28 +0000 (03:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2008 10:05:28 +0000 (03:05 -0700)
It is possible to avoid locking at all in ipv4_sysctl_rtcache_flush by
defining local ctl_table on the stack.

The patch is based on the suggestion from Eric W. Biederman.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found