From: Serhey Popovych <serhe.popovych@gmail.com>
To: David Ahern <dsahern@gmail.com>, netdev@vger.kernel.org
Subject: Re: [PATCH iproute2-next] ip/tunnel: Minor cleanups
Date: Fri, 9 Feb 2018 18:18:35 +0200 [thread overview]
Message-ID: <a6019497-c715-d291-b646-383905968be7@gmail.com> (raw)
In-Reply-To: <3e9becb6-aa30-fd14-e3a2-b4fb565e87c2@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1363 bytes --]
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 <serhe.popovych@gmail.com>
>> ---
>> 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(-)
>>
>
> applied to iproute2-next.
>
> 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.
>
Accepted. Thank you!
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
prev parent reply other threads:[~2018-02-09 16:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-08 10:57 [PATCH iproute2-next] ip/tunnel: Minor cleanups Serhey Popovych
2018-02-09 16:12 ` David Ahern
2018-02-09 16:18 ` Serhey Popovych [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a6019497-c715-d291-b646-383905968be7@gmail.com \
--to=serhe.popovych@gmail.com \
--cc=dsahern@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).