From: David Miller <davem@davemloft.net>
To: gerrit@erg.abdn.ac.uk
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 0/4] inet6: minor cleanups
Date: Tue, 21 Jul 2009 12:57:45 -0700 (PDT) [thread overview]
Message-ID: <20090721.125745.210846096.davem@davemloft.net> (raw)
In-Reply-To: <1248027819-23959-1-git-send-email-gerrit@erg.abdn.ac.uk>
From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Date: Sun, 19 Jul 2009 20:23:35 +0200
> This is a small set of minor-cleanup patches, found while
> studying the tclass code.
>
> Patch #1: Unifies return convention of datagram_send_ctl().
OK.
> Patch #2: Consolidates cmsg code for Traffic Class / Hop Limit.
You delete the 'addr_type' variable but that's rediculious.
The name of the variable describes what is held in it, now
that value gets stored in 'val' which makes the code harder
to read and understand.
I'm not applying this, it's noise, and on top of that it's
bad noise and makes the code worse.
> Patch #3: Simplifies assignments from u8 to int (no conversion).
OK.
> Patch #4: Finds that RT_TOS() redefines IPTOS_TOS().
This macro probably exists so that if the ipv4 route cache entry TOS
representation changes compared to IPTOS_TOS(), we would simply have
to change the definition of this macro.
Just because they happen to be the same now is no reason to kill off
this macro I think.
I'm not applying this either.
next prev parent reply other threads:[~2009-07-21 19:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <inet6_minor_cleanups>
2009-07-19 18:23 ` [PATCH 0/4] inet6: minor cleanups Gerrit Renker
2009-07-19 18:23 ` [PATCH 1/4] inet6: Return convention in datagram_send_ctl Gerrit Renker
2009-07-19 18:23 ` [PATCH 2/4] inet6: Consolidate common code for IPv6 Hop Limit / Traffic Class Gerrit Renker
2009-07-19 18:23 ` [PATCH 3/4] inet6: Conversion from u8 to int Gerrit Renker
2009-07-19 18:23 ` [PATCH 4/4] inet: in_route.h redefined macro Gerrit Renker
2009-07-21 19:57 ` David Miller [this message]
2009-07-22 20:17 ` Question: AF-Independence of ECN (was [PATCH 0/4] inet6: minor cleanups) Gerrit Renker
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=20090721.125745.210846096.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=gerrit@erg.abdn.ac.uk \
--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