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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user