diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-01-26 12:49:06 -0800 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-01-27 21:08:42 -0800 |
| commit | ed099e921e30d3720c5ad7d1b4f911bb23911bf3 (patch) | |
| tree | 461d64f4f9aba073a032f5667e5683c0d9cdfb4f /include/openvswitch | |
| parent | 057dd6d279c20e88f98bbe8328383564391bbc8f (diff) | |
| download | openvswitch-ed099e921e30d3720c5ad7d1b4f911bb23911bf3.tar.gz | |
datapath: Adopt Generic Netlink-compatible locking.
The kernel Generic Netlink layer always holds a mutex (genl_lock) when it
invokes callbacks, so that means that there is no point in having
per-datapath mutexes or a separate vport lock. This commit removes them.
This commit breaks support for Linux before 2.6.35 because it calls
genl_lock(), which wasn't exported before that version. That problem will
be fixed once the whole userspace interface transitions to Generic
Netlink a few commits from now.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'include/openvswitch')
0 files changed, 0 insertions, 0 deletions
