<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Forwarding to correct list, please see below.&nbsp;</div><div id="AppleMailSignature"><br></div><blockquote type="cite"><div><b>From:</b> Samuel Jean &lt;<a href="mailto:sjean@digitalocean.com">sjean@digitalocean.com</a>&gt;<br><b>Date:</b> January 12, 2017 at 3:54:42 PM EST<br><b>To:</b> <a href="mailto:dev@openvswitch.org">dev@openvswitch.org</a><br><b>Subject:</b> <b>[BUG] ovs-ofctl version 2.5.0 will crash with OFPFMFC_BAD_COMMAND</b><br><br></div></blockquote><blockquote type="cite"><div><div dir="ltr"><div><div>Hi,</div><div><br></div><div>It seems that shelling out to ovs-ofctl very quickly can lead to bug where it reports an OFPT_ERROR.</div><div><br></div><div>We were able to constantly reproduce within minutes of running the above flow modifications on Unbutu.</div><div><br></div><div>Any help, hints or guidance would be appreciated.&nbsp; I'd be happy to pursue some debugging that would be required to nail down the issue here.</div><div><br></div><div>Best regards,</div><div>Sam Jean</div><div><br></div><div># cat ./ofpcrash.sh</div><div>#!/bin/sh</div><div>ovs-ofctl add-flow br0 'priority=100,table=25,idle_timeout=0,actions=resubmit(,35)' || exit 1</div><div>ovs-ofctl add-flow br0 'priority=100,table=35,idle_timeout=0,actions=resubmit(,45)' || exit 1</div><div>ovs-ofctl add-flow br0 'priority=100,table=45,idle_timeout=0,actions=resubmit(,50)' || exit 1</div><div>ovs-ofctl add-flow br0 'priority=100,table=50,idle_timeout=0,actions=resubmit(,65)' || exit 1</div><div>ovs-ofctl add-flow br0 'priority=100,table=65,idle_timeout=0,actions=output:1' || exit 1</div><div>ovs-ofctl add-flow br0 'priority=3000,ip,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00,table=0,idle_timeout=0,actions=drop' || exit 1</div><div>ovs-ofctl add-flow br0 'priority=1000,ip,in_port=1,dl_dst=0c:01:00:12:cf:01,table=0,idle_timeout=0,cookie=20250774994944,actions=resubmit(,25)' || exit 1</div><div><br></div><div># while true; do ./ofpcrash.sh || break; done</div><div>OFPT_ERROR (xid=0x4): OFPFMFC_BAD_COMMAND</div><div>OFPT_FLOW_MOD (xid=0x4):</div><div>(***truncated to 64 bytes from 88***)</div><div>00000000 &nbsp;01 0e 00 58 00 00 00 04-00 38 20 ff 00 00 00 00 |...X.....8 .....|</div><div>00000010 &nbsp;00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |................|</div><div>00000020 &nbsp;00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |................|</div><div>00000030 &nbsp;00 00 00 00 00 00 00 00-32 00 00 00 00 00 00 64 |........2......d|</div></div><div><br></div><div># ovs-ofctl --version</div><div>ovs-ofctl (Open vSwitch) 2.5.0</div><div>Compiled Sep 15 2016 12:55:18</div><div>OpenFlow versions 0x1:0x4</div><div><br></div><div><div># uname -srmvp</div><div>Linux 3.13.0-100-generic #147-Ubuntu SMP Tue Oct 18 16:48:51 UTC 2016 x86_64 x86_64</div></div></div>
</div></blockquote></body></html>