On Tue, Nov 7, 2017 at 12:33 AM, Xin Long wrote:
> Now ip_gre is using ip_tunnel_changelink to update it's properties, but
> ip_tunnel_changelink in ip_tunnel doesn't update i/o_flags as a common
> function.
>
> o_flags updates would cause that tunnel->tun_hlen / hlen and dev->mtu /
> needed_headr
Now ip_gre is using ip_tunnel_changelink to update it's properties, but
ip_tunnel_changelink in ip_tunnel doesn't update i/o_flags as a common
function.
o_flags updates would cause that tunnel->tun_hlen / hlen and dev->mtu /
needed_headroom need to be recalculated, and dev->(hw_)features need to
b