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

GitHub noreply at github.com
Thu Nov 2 18:32:50 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 214117fdbd1f2d2766757d5b29e923cfcaadc914
      https://github.com/openvswitch/ovs/commit/214117fdbd1f2d2766757d5b29e923cfcaadc914
  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