[PATCH net-next] net: ipv6: add IFLA_RA_MTU to expose mtu value in the RA message

David Ahern dsahern at gmail.com
Thu Jul 29 10:28:26 PDT 2021


On 7/29/21 9:42 AM, Rocco Yue wrote:
> Because the purpose of this patch is for userspace to correctly read the
> ra_mtu value of different network device, if the DEVCONF is completely dropped,
> does that mean I can add the "ra_mtu" member in the "struct net_device" .

good point. IFLA is the wrong attribute. It should be IFLA_INET6_RA_MTU,
stored in inet6_dev and added to the link message in
inet6_fill_ifla6_attrs.




More information about the Linux-mediatek mailing list