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

Rocco Yue rocco.yue at mediatek.com
Fri Jul 30 10:39:46 PDT 2021


On Thu, 2021-07-29 at 11:28 -0600, David Ahern wrote:
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.

will do, thanks for your suggestion.


More information about the linux-arm-kernel mailing list