Re: [ovs-dev] [PATCHv4 2/7] netlink: Make nl_dump_next() thread-safe.

2014-02-27 Thread Ben Pfaff
On Thu, Feb 27, 2014 at 02:13:06PM -0800, Joe Stringer wrote: > This patch modifies 'struct nl_dump' and nl_dump_next() to allow > multiple threads to share the same nl_dump. These changes are targeted > around synchronizing dump status between multiple callers, and > allowing callers to fully proc

[ovs-dev] [PATCHv4 2/7] netlink: Make nl_dump_next() thread-safe.

2014-02-27 Thread Joe Stringer
This patch modifies 'struct nl_dump' and nl_dump_next() to allow multiple threads to share the same nl_dump. These changes are targeted around synchronizing dump status between multiple callers, and allowing callers to fully process their existing buffers before determining whether to stop fetching