[ovs-git] [openvswitch/ovs] 575a92: netdev-linux: Fix wrong ceil rate when max-rate le...

GitHub noreply at github.com
Thu Nov 2 18:33:15 UTC 2017


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: 575a927702ef135e405d5c82ae465f2a619376fb
      https://github.com/openvswitch/ovs/commit/575a927702ef135e405d5c82ae465f2a619376fb
  Author: Kaige Fu <fukaige at huawei.com>
  Date:   2017-11-02 (Thu, 02 Nov 2017)

  Changed paths:
    M lib/netdev-linux.c

  Log Message:
  -----------
  netdev-linux: Fix wrong ceil rate when max-rate less than 8bit.

When max-rate is less than 8bit, the hc->max_rate will be set
as htb->max_rate mistakenly instead of mtu of netdev.

Fixes: 13c1637 ("smap: New function smap_get_ullong().")
Signed-off-by: Kaige Fu <fukaige at huawei.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list