Re: [PATCH net-next 1/2] ip_gre: add the support for i/o_flags update via netlink

2017-11-07 Thread William Tu
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

[PATCH net-next 1/2] ip_gre: add the support for i/o_flags update via netlink

2017-11-07 Thread Xin Long
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