[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1375672192.32485.6.camel@cr0>
Date: Mon, 05 Aug 2013 11:09:52 +0800
From: Cong Wang <amwang@...hat.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, dborkman@...hat.com, joe@...ches.com,
linux-kernel@...r.kernel.org
Subject: Re: [Patch net-next v2 1/8] net: introduce generic union inet_addr
On Fri, 2013-08-02 at 14:50 -0700, David Miller wrote:
> From: Cong Wang <amwang@...hat.com>
> Date: Fri, 2 Aug 2013 15:14:27 +0800
>
> > From: Cong Wang <amwang@...hat.com>
> >
> > Introduce a generic IP address type, union inet_addr, so that
> > subsystems don't have to use their own definitions. Because
> > netpoll already defines union inet_addr, just move it to global.
> > Some of the helper functions will be used by VXLAN IPv6 code too.
> >
> > This patch also reuses the "%pIS" specifier, to make it accept
> > union inet_addr instead of struct sockaddr.
> >
> > Cc: Daniel Borkmann <dborkman@...hat.com>
> > Cc: Joe Perches <joe@...ches.com>
> > Cc: linux-kernel@...r.kernel.org
> > Signed-off-by: Cong Wang <amwang@...hat.com>
>
> Changing %pIS to %pIA is pure churn, and of zero value that I can see.
'S' in %pIS is for Sockaddr, since this patch makes it accept union
inet_addr instead of struct sockaddr, I don't think 'S' is meaningful
any more.
>
> Every time I review this patch set I discover some new thing that I'm
> very disappointed with.
The "%pIS" change exists in v1, I don't know why you think it is new in
v2. Also, if you can point all what you dislike at one time, it would
save time for both of us, I prefer to fix them all in one update.
>
> You're going to have to stop being so ambitious, and start very small.
>
> Maybe one tiny patch at a time if needed.
Ok, I will split the %pIS change from this patch.
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists