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

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


  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: a7c8533a9bcdf5bfee9c13ba391117897034329f
      https://github.com/openvswitch/ovs/commit/a7c8533a9bcdf5bfee9c13ba391117897034329f
  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