-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_PACKET_IN_DATA_OFFSET calculation conflicts with ASSERT for OF1.3 only #207
Comments
Here's a minimal failing testcase:
This works:
I don't know what's causing this bug yet, but setting an empty match is an easy workaround. We've never seen this because we always set the match in packet-ins. |
Is this issue resolved? |
This looks like a resolved issue so unless I hear otherwise, I'm going to close it. |
I don't think so, given that the padding also exists in OF 1.2. |
I found the issue. There's a hack in I'll fix this after the OF 1.4 changes are merged. |
@rlane - did we end up fixing this? |
I'm working with a recent version of Indigo and the loxigen-artifacts submodule (merged the changes from today).
how to trigger
Here are the important steps in my code to trigger this bug:
\2. Set the data in it to send to the controller (i.e., don't buffer the packet locally)
\3. the
_PACKET_IN_DATA_OFFSET
macro sets the offset to 26, and the call to_END_LEN
returns 8. Packet length is 34 when I observe this behavior.\4. Because
cur_len != 0
andcur_len != value->bytes
inof_wire_buffer_octets_data_set
, the assertion fails.I don't observe this behavior when I use OpenFlow 1.2 packets.
The text was updated successfully, but these errors were encountered: