net: fix IFLA_MTU ignored on NEWLINK for some ip and ipv6 tunnels
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ip_gre: fix IFLA_MTU ignored on NEWLINKnet/ | +0 | 0 replies | |
| 2/3 | ip6_tunnel: fix IFLA_MTU ignored on NEWLINKnet/ | +8 | 0 replies | |
| 3/3 | sit: fix IFLA_MTU ignored on NEWLINKnet/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 0/3] net: fix IFLA_MTU ignored on NEWLINK for some ip and ipv6 tunnels
The fix for ip_gre follows the way other ip tunnels do: not to set mtu in ndo_init, as ip_tunnel_newlink will take care of it properly.
The fix for ip6_tunnel and sit follows the way ipv6 tunenls do:
to set mtu again according to IFLA_MTU after, as all bind_dev are called in ndo_init where it can't get the tb[IFLA_MTU].
Xin Long (3):
ip_gre: fix IFLA_MTU ignored on NEWLINK
ip6_tunnel: fix IFLA_MTU ignored on NEWLINK
sit: fix IFLA_MTU ignored on NEWLINK
net/ipv4/ip_gre.c | 5 ----- net/ipv6/ip6_tunnel.c | 12 ++++++++---- net/ipv6/sit.c | 7 +++++++ 3 files changed, 15 insertions(+), 9 deletions(-)
Signature · 1 line
2.1.0