summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-07-05 19:02:06 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-05 19:02:06 -0700
commit639e104facec20f64f2eb940851ae45e5f255e6b (patch)
tree54e035641e7640b1b1d49fd2fc94d503540274c5 /samples
parentae299fc051aa68ca6ef1807c37bb92d9b6ff817c (diff)
downloadop-kernel-dev-639e104facec20f64f2eb940851ae45e5f255e6b.zip
op-kernel-dev-639e104facec20f64f2eb940851ae45e5f255e6b.tar.gz
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 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud