[ovs-git] [openvswitch/ovs] 8fd3de: datapath-windows: return netlink error for read op...

GitHub noreply at github.com
Wed Sep 30 05:42:40 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 8fd3ded1cca6b1bec0ce54eeae294e3eeded2d8b
      https://github.com/openvswitch/ovs/commit/8fd3ded1cca6b1bec0ce54eeae294e3eeded2d8b
  Author: Nithin Raju <nithin at vmware.com>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

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

  Log Message:
  -----------
  datapath-windows: return netlink error for read operation

The kernel datapath returns a NL error message upon any errors
during read operations, and returns STATUS_SUCCESS as the return
code. We reply on the input NL request to get the family ID, and the
PID. However, when the request is of type OVS_CTRL_CMD_EVENT_NOTIFY
and OVS_CTRL_CMD_READ_NOTIFY, there's no input buffer associated
with the request. So, we use a temporary input buffer to be able to
call the Netlink APIs for constructing the output NL error message.

Signed-off-by: Nithin Raju <nithin at vmware.com>
Acked-by: Sairam Venugopal <vsairam at vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list