Re: [ovs-dev] [PATCH] stream-unix: Give accepted sockets distinct names for log messages.

2017-12-08 Thread Ben Pfaff
On Fri, Dec 08, 2017 at 02:17:54PM -0800, Justin Pettit wrote: > > > On Dec 8, 2017, at 11:36 AM, Ben Pfaff wrote: > > > > diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at > > index 4fbb10070342..ed37ebbc84a6 100644 > > --- a/tests/ofproto-macros.at > > +++

Re: [ovs-dev] [PATCH] stream-unix: Give accepted sockets distinct names for log messages.

2017-12-08 Thread Justin Pettit
> On Dec 8, 2017, at 11:36 AM, Ben Pfaff wrote: > > diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at > index 4fbb10070342..ed37ebbc84a6 100644 > --- a/tests/ofproto-macros.at > +++ b/tests/ofproto-macros.at > @@ -32,6 +32,7 @@ prt==1 { sub(/[ \t]*$/, ""); print $0 }

[ovs-dev] [PATCH] stream-unix: Give accepted sockets distinct names for log messages.

2017-12-08 Thread Ben Pfaff
At least on Linux, when process A connects to process B over a Unix domain socket, unless process A bound its socket to a name before it made the connection, process B gets an empty peer name. Until now, OVS has just reported the name of the connection as "unix". This is not meaningful, of