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

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


  Branch: refs/heads/branch-2.3
  Home:   https://github.com/openvswitch/ovs
  Commit: ceb84696498a73db449f4536234526cf4db53b7a
      https://github.com/openvswitch/ovs/commit/ceb84696498a73db449f4536234526cf4db53b7a
  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