diff options
author | Sven Wegener <sven.wegener@stealer.net> | 2008-08-03 14:06:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-03 14:06:44 -0700 |
commit | adf044c8778de98dae29c5ce9973b7e43964674f (patch) | |
tree | aca4e834cf1a9d15d348f9c23905dcf9f443ca85 /drivers/net/wireless/iwlwifi/iwl-power.c | |
parent | e5a4a72d4f88f4389e9340d383ca67031d1b8536 (diff) | |
download | op-kernel-dev-adf044c8778de98dae29c5ce9973b7e43964674f.zip op-kernel-dev-adf044c8778de98dae29c5ce9973b7e43964674f.tar.gz |
net: Add missing extra2 parameter for ip_default_ttl sysctl
Commit 76e6ebfb40a2455c18234dcb0f9df37533215461 ("netns: add namespace
parameter to rt_cache_flush") acceses the extra2 parameter of the
ip_default_ttl ctl_table, but it is never set to a meaningful
value. When e84f84f276473dcc673f360e8ff3203148bdf0e2 ("netns: place
rt_genid into struct net") is applied, we'll oops in
rt_cache_invalidate(). Set extra2 to init_net, to avoid that.
Reported-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Tested-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Acked-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-power.c')
0 files changed, 0 insertions, 0 deletions