[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180621.145828.622120291564301583.davem@davemloft.net>
Date: Thu, 21 Jun 2018 14:58:28 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: lucien.xin@...il.com
Cc: netdev@...r.kernel.org, jarod@...hat.com, maheshb@...gle.com
Subject: Re: [PATCH net] ipvlan: fix IFLA_MTU ignored on NEWLINK
From: Xin Long <lucien.xin@...il.com>
Date: Thu, 21 Jun 2018 12:56:04 +0800
> 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@...hat.com>
> Signed-off-by: Xin Long <lucien.xin@...il.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists