mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 22:35:15 +00:00
ofproto-dpif: Make packet_ins thread safe.
This patch makes packet_ins thread safe by handing responsibility for them to ofproto-dpif. Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -342,6 +342,8 @@ struct ofpbuf *ofputil_encode_flow_removed(const struct ofputil_flow_removed *,
|
||||
|
||||
/* Abstract packet-in message. */
|
||||
struct ofputil_packet_in {
|
||||
struct list list_node; /* For queueing packet_ins. */
|
||||
|
||||
const void *packet;
|
||||
size_t packet_len;
|
||||
|
||||
|
Reference in New Issue
Block a user