Fri, May 13, 2016 at 11:01:20AM IDT, olichtne(a)redhat.com wrote:
From: Ondrej Lichtner <olichtne(a)redhat.com>
The ServerHandler automatically closes all sockets that are either
closed from the other side or get into a broken state. This is normally
fine, however in case the socket in question is the Netlink socket, the
InterfaceManager doesn't get notified of this event and attempts to call
on this object fail with EBADF.
This makes sure that whenever the ServerHandler closes the socket, it
calls the InterfaceManager reconnect_netlink() method so that a new
netlink connection is established.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
I ran most of our L2 tests and I didn't get this error message anymore,
so:
Tested-by: Ido Schimmel <idosch(a)mellanox.com>
Thanks!