[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100330173904.GB12709@coffee.modeemi.cs.tut.fi>
Date: Tue, 30 Mar 2010 20:39:04 +0300
From: Erkki Seppala <flux-lkml@...ide.org>
To: netdev <netdev@...r.kernel.org>
Subject: Re: Tiny patch (w/ discussion) to provide the peer information on
unix domain sockets
Hi Eric,
On Tue, Mar 30, 2010 at 04:56:53PM +0200, Eric Dumazet wrote:
> Such patches should be sent to netdev
Oops! Thanks for the pointer!
> I believe you missed some necessary locking.
I don't think so, because I don't actually dereference the other unix
address, I just print the its address.
> Prior art from Kenan Kalajdzic :
>
> http://patchwork.ozlabs.org/patch/46561/
Perhaps this would be a more decent solution (using the more
user-space compatible concept of inodes), although I think don't that
the backwards compatiblity for this kind of rarely used feature is
that critical, given the impact of the breakage seems to be quite low
as well.
I think the way forward in general should be that user space
applications actually look what columns are available and provide
future compatibility in that fashion. And empty fields should have
have some filler :).
--
_____________________________________________________________________
/ __// /__ ____ __ http://www.modeemi.fi/~flux/\ \
/ /_ / // // /\ \/ / \ /
/_/ /_/ \___/ /_/\_\@modeemi.fi \/
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists