diff options
author | Denis V. Lunev <den@openvz.org> | 2008-07-08 06:05:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-08 06:05:28 -0400 |
commit | 81c684d12ddc05bba4953e36e9cdd5939dde344b (patch) | |
tree | 397ffc2a3e00f07d1cdda8707cf36bf3ca43268a /drivers/net/niu.c | |
parent | 2c693610fe923764fe41b846fb86938a2010da6e (diff) |
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 'drivers/net/niu.c')
0 files changed, 0 insertions, 0 deletions