RE: [PATCH] net: core: Fix to store new mtu setting in netdevice.

From: Murali Krishna Policharla
Date: Thu Jan 03 2019 - 04:54:53 EST


> Hi Andrew/Heiner
>
> Thanks for the feedback. This
patch
> fixes a case where ndo_change_mtu function is provided but the callback
> function is not storing mtu to netdevice structure.

> Hi Murali

> At the moment, any driver which implements ndo_change_mtu MUST set
> ndev->mtu. It is a nice clean definition, easy for any driver write to
> understand.

Hi Andrew
Since drivers implementing ndo_change_mtu callback
function are following this approach. Will go with the existing approach
and modify the ndo_change_mtu callback function that I will be adding to
store mtu to netdevice structure.

Thanks
Murali