[ovs-git] [openvswitch/ovs] d8d1ef: netlink-socket: Fix log message for subscribe/unsu...

GitHub noreply at github.com
Tue Jan 5 00:04:37 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: d8d1ef2f07019fa216d61439344c5b84f8a64f22
      https://github.com/openvswitch/ovs/commit/d8d1ef2f07019fa216d61439344c5b84f8a64f22
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2016-01-04 (Mon, 04 Jan 2016)

  Changed paths:
    M lib/netlink-socket.c

  Log Message:
  -----------
  netlink-socket: Fix log message for subscribe/unsubscribe on Windows.

The warning message was inverted on the performed operation.

Also use the error returned by nl_sock_subscribe_packet__.

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: ad61c98d7a41f706eda54731080aef95f7d31fb4
      https://github.com/openvswitch/ovs/commit/ad61c98d7a41f706eda54731080aef95f7d31fb4
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2016-01-04 (Mon, 04 Jan 2016)

  Changed paths:
    M datapath-windows/ovsext/User.c

  Log Message:
  -----------
  datapath-windows: Fix subscribe/unsubscribe packets

The policy of the subscribe packets is defined by the following:
    const NL_POLICY policy[] =  {
  [OVS_NL_ATTR_PACKET_PID] = {.type = NL_A_U32 },
  [OVS_NL_ATTR_PACKET_SUBSCRIBE] = {.type = NL_A_U8 }
  };
Switch the value of the join operation with the one from the policy.

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/48fcdb4797c1...ad61c98d7a41


More information about the git mailing list