mirror of
https://github.com/openvswitch/ovs
synced 2025-10-29 15:28:56 +00:00
ofproto: Fix segfault sending packet_ins on transient connections.
This commit is contained in:
@@ -4028,6 +4028,8 @@ schedule_packet_in(struct ofconn *ofconn, struct ofpbuf *packet, int max_len,
|
||||
buffer_id = UINT32_MAX;
|
||||
} else if (ofproto->fail_open && fail_open_is_active(ofproto->fail_open)) {
|
||||
buffer_id = pktbuf_get_null();
|
||||
} else if (!ofconn->pktbuf) {
|
||||
buffer_id = UINT32_MAX;
|
||||
} else {
|
||||
struct ofpbuf payload;
|
||||
payload.data = opi->data;
|
||||
|
||||
Reference in New Issue
Block a user