[ovs-git] [openvswitch/ovs] 501985: datapath-windows: Missed packets are not queued.

GitHub noreply at github.com
Mon Sep 29 16:19:03 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 5019855cad0b965e32fc2342773c0915c54329bb
      https://github.com/openvswitch/ovs/commit/5019855cad0b965e32fc2342773c0915c54329bb
  Author: Sorin Vinturis <svinturis at cloudbasesolutions.com>
  Date:   2014-09-29 (Mon, 29 Sep 2014)

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

  Log Message:
  -----------
  datapath-windows: Missed packets are not queued.

Currently, whenever there's a missed packet, the ovs driver allocates
memory and copies the packet even if there's no packet queue setup from
userspace. Then if there's no queue created, the packet is released and
dropped.

The solution was to check for the existence of the userspace queue before
trying to allocate and add a new missed packet to the queue. If there is
no userspace queue created, the original packet is dropped without creating
a new missed packet.

Signed-off-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Reported-by: Nithin Raju <nithin at vmware.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/32
Tested-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Acked-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Acked-by: Nithin Raju <nithin at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list