[Devel] Re: [PATCH] Cleanup the IPv6 addresses printing in /proc files

David Miller davem at davemloft.net
Tue Oct 23 21:10:45 PDT 2007


From: Joe Perches <joe at perches.com>
Date: Tue, 23 Oct 2007 21:04:01 -0700

> On Tue, 2007-10-23 at 20:43 -0700, David Miller wrote:
> > From: Pavel Emelyanov <xemul at openvz.org>
> > Date: Tue, 23 Oct 2007 20:37:22 +0400
> > > The /proc/net udp6, tcp6 and raw6 files print the IPs of
> > > the connection ends. Make a NIP6Lxxx macros (L stands for
> > > "long") for making the printing code look nicer.
> > > Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
> > Applied, thanks.
> 
> Why aren't these addresses converted with ntohl?

The reason is immaterial because whatever the kernel is doing
now we have to keep doing because applications parsing these
/proc files expect things to be how they are.

We'll break things if we change it.




More information about the Devel mailing list