WSL2-Linux-Kernel/drivers/net/ipvlan
Xin Long 30877961b1 ipvlan: fix IFLA_MTU ignored on NEWLINK
Commit 296d485680 ("ipvlan: inherit MTU from master device") adjusted
the mtu from the master device when creating a ipvlan device, but it
would also override the mtu value set in rtnl_create_link. It causes
IFLA_MTU param not to take effect.

So this patch is to not adjust the mtu if IFLA_MTU param is set when
creating a ipvlan device.

Fixes: 296d485680 ("ipvlan: inherit MTU from master device")
Reported-by: Jianlin Shi <jishi@redhat.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-21 14:57:46 +09:00
..
Makefile
ipvlan.h ipvlan: properly annotate rx_handler access 2018-03-08 11:12:43 -05:00
ipvlan_core.c net/ipv6: Pass skb to route lookup 2018-03-04 13:04:22 -05:00
ipvlan_main.c ipvlan: fix IFLA_MTU ignored on NEWLINK 2018-06-21 14:57:46 +09:00
ipvtap.c