diff options
author | Xin Long <lucien.xin@gmail.com> | 2018-06-21 06:56:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-21 07:57:46 +0200 |
commit | 30877961b1cdd6fdca783c2e8c4f0f47e95dc58c (patch) | |
tree | eaa309fd4d8b6168307d6e3f5e0d3f2199e35e50 /drivers/hsi/hsi_boardinfo.c | |
parent | sctp: fix erroneous inc of snmp SctpFragUsrMsgs (diff) | |
download | linux-30877961b1cdd6fdca783c2e8c4f0f47e95dc58c.tar.xz linux-30877961b1cdd6fdca783c2e8c4f0f47e95dc58c.zip |
ipvlan: fix IFLA_MTU ignored on NEWLINK
Commit 296d48568042 ("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: 296d48568042 ("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>
Diffstat (limited to 'drivers/hsi/hsi_boardinfo.c')
0 files changed, 0 insertions, 0 deletions