[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171213.150933.145602207446562231.davem@davemloft.net>
Date: Wed, 13 Dec 2017 15:09:33 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: alexey.kodanev@...cle.com
Cc: netdev@...r.kernel.org, steffen.klassert@...unet.com,
pvorel@...e.cz, shannon.nelson@...cle.com
Subject: Re: [PATCH net-next v2] ip6_vti: adjust vti mtu according to mtu
of output device
From: Alexey Kodanev <alexey.kodanev@...cle.com>
Date: Tue, 12 Dec 2017 16:53:32 +0300
> + if (tdev) {
> + dev->mtu = max_t(int, tdev->mtu - dev->hard_header_len,
> + IPV6_MIN_MTU);
> + }
Please don't use curly braces for a single-statement basic block.
Thank you.
Powered by blists - more mailing lists