diff options
author | Denis V. Lunev <den@openvz.org> | 2008-07-08 03:05:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-08 03:05:28 -0700 |
commit | 81c684d12ddc05bba4953e36e9cdd5939dde344b (patch) | |
tree | 397ffc2a3e00f07d1cdda8707cf36bf3ca43268a /ipc | |
parent | 2c693610fe923764fe41b846fb86938a2010da6e (diff) | |
download | op-kernel-dev-81c684d12ddc05bba4953e36e9cdd5939dde344b.zip op-kernel-dev-81c684d12ddc05bba4953e36e9cdd5939dde344b.tar.gz |
ipv4: remove flush_mutex from ipv4_sysctl_rtcache_flush
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions