inet: make no_pmtu_disc per namespace and kill ipv4_config
The other field in ipv4_config, log_martians, was converted to a per-interface setting, so we can just remove the whole structure. Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
143c905494
commit
974eda11c5
@@ -16,7 +16,7 @@
|
||||
|
||||
static int xfrm4_init_flags(struct xfrm_state *x)
|
||||
{
|
||||
if (ipv4_config.no_pmtu_disc)
|
||||
if (xs_net(x)->ipv4.sysctl_ip_no_pmtu_disc)
|
||||
x->props.flags |= XFRM_STATE_NOPMTUDISC;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user