diff options
author | Denis V. Lunev <den@openvz.org> | 2008-07-05 19:02:06 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-05 19:02:06 -0700 |
commit | 639e104facec20f64f2eb940851ae45e5f255e6b (patch) | |
tree | 54e035641e7640b1b1d49fd2fc94d503540274c5 /net/x25 | |
parent | ae299fc051aa68ca6ef1807c37bb92d9b6ff817c (diff) |
ipv4: remove static flush_delay variable
flush delay is used as an external storage for net.ipv4.route.flush sysctl
entry. It is write-only.
The ctl_table->data for this entry is used once. Fix this case to point
to the stack to remove global variable. Do this to avoid additional
variable on struct net in the next patch.
Possible race (as it was before) accessing this local variable is removed
using flush_mutex.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions