[OPNFLWPLUG-338] Buffer ID set to 0 instead of OFP_NO_BUFFER in PACKET_OUT messages Created: 19/Jan/15 Updated: 27/Sep/21 Resolved: 18/Mar/15 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Colin Dixon | Assignee: | Jamo Luhrsen |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| External issue ID: | 2608 | ||||||||
| Description |
|
As reported here: https://lists.opendaylight.org/pipermail/l2switch-dev/2014-November/000347.html |
| Comments |
| Comment by Colin Dixon [ 19/Jan/15 ] |
|
Should be fixed by these two patches: |
| Comment by Jamo Luhrsen [ 17/Mar/15 ] |
|
re-opening as this was seen in the LLDP packet-outs being used for link discovery. packet capture attached. this patch may fix the issue, but until it's merged or a better one is made I wanted |
| Comment by Jamo Luhrsen [ 17/Mar/15 ] |
|
Attachment flow_mod_with_buffer_id_0.pcap has been added with description: flow mod using buffer_id == 0 |
| Comment by Michal Rehak [ 17/Mar/15 ] |
|
Hi, I guess that the flow you are referring to is the one with xid=8 from the attached pcap file. This looks like flow from l2switch (table-miss-enforcer currently uses empty match). I tried to find some code and first dive gave me this: Could you try to fix this locally and if it works, please file new bug to l2switch (and eventually push fix). Thank you. |
| Comment by Michal Rehak [ 17/Mar/15 ] |
|
merged |
| Comment by Michal Rehak [ 17/Mar/15 ] |
|
Jamo, do you use up-to-date sources? It looks like l2switch is already fixed - see |
| Comment by Jamo Luhrsen [ 17/Mar/15 ] |
|
Michal, I actually never pulled l2switch locally yet, so I have to assume I'm using latest code for that. But, this one issue (I thought) was just missed with the fix for Let me know what I can do though, if anything. |
| Comment by Michal Rehak [ 18/Mar/15 ] |
|
Hi Jamo, Regarding the default value for bufferId - currently if there is null input, we use OFConstants.OFP_NO_BUFFER. |
| Comment by Colin Dixon [ 18/Mar/15 ] |
|
I'm pretty sure I hunted this down and fixed it everywhere in L2 Switch. |
| Comment by Jamo Luhrsen [ 18/Mar/15 ] |
|
I must have confused my setups with an older (probably Helium) instance when we can back out that patch if you think it's necessary. sorry for adding confusion here. Marking this bug closed. |