openvswitch / ovs-issues

Issue tracker repo for Open vSwitch
10 stars 3 forks source link

[Windows] Generating packet-out message with in_port set to CONTROLLER (0xfffffffd) leads to system crash #280

Open tnqn opened 1 year ago

tnqn commented 1 year ago

We use packet-out to generate response packets. Recently we found an issue that may be related to ovsext driver: if in_port of the packet-out message is set to CONTROLLER (0xfffffffd), the Windows system will crash immediately. According to http://www.openvswitch.org//support/dist-docs/ovs-ofctl.8.txt, CONTROLLER should be a valid in_port number, and the same value works well on Linux.

The issue can be reproduced by the following command:

# 4294967293 == 0xfffffffd
ovs-ofctl packet-out br-int 4294967293 'resubmit(,0)' ffffffffffff00010200000108060001080006040001000102000001c0a80001000000000000c0a80002

https://github.com/antrea-io/antrea/issues/4990 has more background about the issue.

cc @pweisong @wenyingd @xliuxu