OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] Cleanup the IPv6 addresses printing in /proc files
Re: [PATCH] Cleanup the IPv6 addresses printing in /proc files [message #22239 is a reply to message #22221] Wed, 24 October 2007 04:10 Go to previous messageGo to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: Joe Perches <joe@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@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@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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] Explicitly call fib_get_table() in fib_frontend.c
Next Topic: [PATCH] Move cgroups destroy() callbacks to cgroup_diput()
Goto Forum:
  


Current Time: Sun Sep 07 09:47:45 GMT 2025

Total time taken to generate the page: 0.08794 seconds