lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1427298721.2344863.245111901.25E46F85@webmail.messagingengine.com>
Date:	Wed, 25 Mar 2015 16:52:01 +0100
From:	Hannes Frederic Sowa <hannes@...essinduktion.org>
To:	Roman Gushchin <klamm@...dex-team.ru>,
	"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] net: sysctl for RA default route MTU

On Wed, Mar 25, 2015, at 12:07, Roman Gushchin wrote:
> --- a/net/ipv6/route.c
> +++ b/net/ipv6/route.c
> @@ -1714,6 +1714,14 @@ int ip6_route_add(struct fib6_config *cfg)
>  
>  	rt->rt6i_flags = cfg->fc_flags;
>  
> +       if ((cfg->fc_flags & (RTF_ADDRCONF | RTF_DEFAULT | RTF_GATEWAY))
> ==
> +           (RTF_ADDRCONF | RTF_DEFAULT | RTF_GATEWAY)) {
> +               u32 mtu = idev->cnf.ra_default_route_mtu;
> +
> +               if (mtu && mtu >= IPV6_MIN_MTU && mtu <= idev->cnf.mtu6)
> +                       dst_metric_set(&rt->dst, RTAX_MTU, mtu);
> +       }
> +

Could you move this RA specific snippet over to ndisc.c?

Hmm

How do you use this option?

You use jumbo frames on the on-link network and announce all routes via
route options where you also want to communicate to with jumbo frames?

I wonder if an offlink_mtu parameter would be more suitable?

Thanks,
Hannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ