From: Serhey Popovych Subject: Re: [PATCH iproute2-next] ip/tunnel: Minor cleanups Date: Fri, 9 Feb 2018 18:18:35 +0200 Message-ID: References: <1518087422-1513-1-git-send-email-serhe.popovych@gmail.com> <3e9becb6-aa30-fd14-e3a2-b4fb565e87c2@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T9agtmUsnQ9gJ7PefQRgHWDU6XdD6l0AW" To: David Ahern , netdev@vger.kernel.org Return-path: Received: from mail-wm0-f67.google.com ([74.125.82.67]:53435 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751098AbeBIQSn (ORCPT ); Fri, 9 Feb 2018 11:18:43 -0500 Received: by mail-wm0-f67.google.com with SMTP id t74so16423723wme.3 for ; Fri, 09 Feb 2018 08:18:42 -0800 (PST) In-Reply-To: <3e9becb6-aa30-fd14-e3a2-b4fb565e87c2@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --T9agtmUsnQ9gJ7PefQRgHWDU6XdD6l0AW Content-Type: multipart/mixed; boundary="rJwb8povqPcPdX0xyKwVxWe08V8mce0DN"; protected-headers="v1" From: Serhey Popovych To: David Ahern , netdev@vger.kernel.org Message-ID: Subject: Re: [PATCH iproute2-next] ip/tunnel: Minor cleanups References: <1518087422-1513-1-git-send-email-serhe.popovych@gmail.com> <3e9becb6-aa30-fd14-e3a2-b4fb565e87c2@gmail.com> In-Reply-To: <3e9becb6-aa30-fd14-e3a2-b4fb565e87c2@gmail.com> --rJwb8povqPcPdX0xyKwVxWe08V8mce0DN Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable David Ahern wrote: > On 2/8/18 3:57 AM, Serhey Popovych wrote: >> Few minor changes to reduce diffs between ip and ipv6 tunnel code: >> >> 1) reduce intendation by one level when adding attributes in gre and= >> gre6; reorder addattr*() calls to simplify diff >> >> 2) reorder local variables definition; change their type (e.g. for >> IFLA_LINK) to match ones returned by rta_getattr_*() >> >> 3) move "mode" parameter parsing in link_iptnl.c to the similar >> position as in link_ip6tnl.c >> >> 4) handle "tc" as shortcut for "tclass"/"tos" in link_iptnl.c >> >> 5) add whitespace where required >> >> Signed-off-by: Serhey Popovych >> --- >> ip/link_gre.c | 91 +++++++++++++++++++++++++++------------------= --------- >> ip/link_gre6.c | 83 ++++++++++++++++++++++++---------------------= ---- >> ip/link_ip6tnl.c | 13 ++++---- >> ip/link_iptnl.c | 61 ++++++++++++++++++------------------ >> ip/link_vti.c | 2 +- >> ip/link_vti6.c | 2 +- >> 6 files changed, 127 insertions(+), 125 deletions(-) >> >=20 > applied to iproute2-next. >=20 > That is a large change for a single patch. Please send future cleanups > with grouped changes like you have done for other patches. gre/gr6 in > one patch, vti /vti6 in a second, etc. >=20 Accepted. Thank you! --rJwb8povqPcPdX0xyKwVxWe08V8mce0DN-- --T9agtmUsnQ9gJ7PefQRgHWDU6XdD6l0AW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJafcnfAAoJEBTawMmQ61bBpRYH/03Xl8unVgE9tZUbtFLri/Cm P4C6vd9Vhs0uzDRe1kYreozlxqtkMickFTemM+Z8dH3md36gaKZablcf1mZT33Qj XMMOferpd7LdiDD6sEl+jtcoXNVUi1vkmBSfQc2SWclLBBN5p293tGiEIv9oBoaQ 0+k9UW+EZwNpJEWEu0G1t6slfbmMOw2LOgWafoG24TlJFREIzrm/QblipRKtvinE zqxjBJY3morGfpN7wRLhJPAxH4OH95pCO2A5E8xZ6W3xdxsyz7Gcg1oKhVvmSZDt ChczrHMydG+NA44NTXsmCaxbiD8XlqGUyRnqYd1pppZ5EbE9akckqZLUpt+fFE4= =Iz0p -----END PGP SIGNATURE----- --T9agtmUsnQ9gJ7PefQRgHWDU6XdD6l0AW--