[ovs-git] [openvswitch/ovs] b09b30: datapath-windows: NUL character should be left out...

GitHub noreply at github.com
Mon Sep 29 15:40:41 UTC 2014


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

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

  Log Message:
  -----------
  datapath-windows: NUL character should be left out during VPORT hash lookup

While calculating the hash on a VPORT name, we don't include the NUL character.
We should be doing the same while doing lookup as well.

We set the required minimum length of the name to be 2 so that the string has
at least one valid character.

Signed-off-by: Nithin Raju <nithin at vmware.com>
Acked-by: Eitan Eliahu <eliahue at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list