mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
dpif: Update documentation for RCU-protected actions.
The userspace datapath returns RCU-protected actions from flow_get() and flow_dump_next(). This doesn't cause any trouble for current users of these functions, but it imposes additional constraints on their use. This patch makes the dpif documentation more explicit about how the results of these functions can be used. Signed-off-by: Joe Stringer <joestringer@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -1466,7 +1466,6 @@ dpif_netdev_flow_dump_thread_destroy(struct dpif_flow_dump_thread *thread_)
|
||||
free(thread);
|
||||
}
|
||||
|
||||
/* XXX the caller must use 'actions' without quiescing */
|
||||
static int
|
||||
dpif_netdev_flow_dump_next(struct dpif_flow_dump_thread *thread_,
|
||||
struct dpif_flow *flows, int max_flows)
|
||||
|
Reference in New Issue
Block a user