You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feb 18 06:02:01|00001|ofl_str|WARN|Received queue prop has invalid length.
dpctl: Error unpacking reply.
Looks like incorrect data manipulation at ofl_utils_count_ofp_queue_props function in oflib/ofl-structs.c. At debug print we can see incorrect value in prop->len at second step of while-loop:
After the setting up of many queues in port, dpctl queue-get-config finished with error.
dpctl unix:/var/run/s4.sock queue-mod 1 1 1
SENDING:
expmodqueue{port="1", queue={q="1", props=[minrate{rate="1"}]}}
OK.
dpctl unix:/var/run/s4.sock queue-get-config 1
SENDING:
q_cnf_req{port="1"}
RECEIVED:
q_cnf_repl{port="1" queues=[{q="1", props=[minrate{rate="1"}]}]}
dpctl unix:/var/run/s4.sock queue-mod 1 2 2
SENDING:
expmodqueue{port="1", queue={q="2", props=[minrate{rate="2"}]}}
OK.
dpctl unix:/var/run/s4.sock queue-get-config 1
SENDING:
q_cnf_req{port="1"}
Feb 18 06:02:01|00001|ofl_str|WARN|Received queue prop has invalid length.
dpctl: Error unpacking reply.
Looks like incorrect data manipulation at ofl_utils_count_ofp_queue_props function in oflib/ofl-structs.c. At debug print we can see incorrect value in prop->len at second step of while-loop:
data_len=48, ntohs(prop->len)=16, sizeof(struct ofp_queue_prop_header)=8
data_len=32, ntohs(prop->len)=2, sizeof(struct ofp_queue_prop_header)=8
Feb 18 06:02:01|00001|ofl_str|WARN|Received queue prop has invalid length.
dpctl: Error unpacking reply.
The text was updated successfully, but these errors were encountered: