dpif: Update documentation for RCU-protected actions.
authorJoe Stringer <joestringer@nicira.com>
Tue, 15 Jul 2014 12:04:52 +0000 (12:04 +0000)
committerJoe Stringer <joestringer@nicira.com>
Wed, 16 Jul 2014 01:59:22 +0000 (13:59 +1200)
commit58df55ce45ca98f8ddfb8f079254cd0caa5284c0
tree3577d96d8bb9f1fb1b24590d5f70074e2beeee07
parentbdba1947ed631d3ad6d35b9733e7b17aa0ca4559
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>
lib/dpif-netdev.c
lib/dpif-provider.h
lib/dpif.c