-
由 Sven Wegener 提交于
Commit 76e6ebfb ("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 e84f84f2 ("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: NMarcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: NSven Wegener <sven.wegener@stealer.net> Tested-by: NMarcin Slusarz <marcin.slusarz@gmail.com> Acked-by: NDenis V. Lunev <den@openvz.org> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
adf044c8