[ovs-git] [openvswitch/ovs] 6e94a2: netlink-socket: return correct error code when con...

GitHub noreply at github.com
Tue Feb 16 17:15:42 UTC 2016


  Branch: refs/heads/branch-2.4
  Home:   https://github.com/openvswitch/ovs
  Commit: 6e94a238901fc037f0588c376c26b598457c6d39
      https://github.com/openvswitch/ovs/commit/6e94a238901fc037f0588c376c26b598457c6d39
  Author: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
  Date:   2016-02-16 (Tue, 16 Feb 2016)

  Changed paths:
    M lib/netlink-socket.c

  Log Message:
  -----------
  netlink-socket: return correct error code when connect fails

When connect and other calls fail after get_socket_rcvbuf, the return code would
be the rcvbuf size, not errno from the last call.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>




More information about the git mailing list