2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

netdev-linux: Fix function argument order in sfq_tc_load().

sfq_install__() takes quantum before perturb.

Acked-by: Justin Pettit <jpettti@ovn.org>
Reported-by: shaoke xi <xishaoke.xsk@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
Ben Pfaff
2018-12-19 07:31:26 -08:00
parent bc2a84bb06
commit 61265c03f0

View File

@@ -3798,7 +3798,7 @@ sfq_tc_load(struct netdev *netdev, struct ofpbuf *nlmsg)
error = tc_parse_qdisc(nlmsg, &kind, &nlattr);
if (error == 0) {
sfq = nl_attr_get(nlattr);
sfq_install__(netdev, sfq->perturb_period, sfq->quantum);
sfq_install__(netdev, sfq->quantum, sfq->perturb_period);
return 0;
}