datapath: Convert upcalls and ODP_EXECUTE to use AF_NETLINK socket layer.
authorBen Pfaff <blp@nicira.com>
Wed, 26 Jan 2011 21:41:54 +0000 (13:41 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Jan 2011 20:17:03 +0000 (12:17 -0800)
commit982b88105d0a82ab90b233bf68e4e51ac9cddd23
treeb1536eabccb54f343b51b30d86ac3b50f39bfbfe
parented099e921e30d3720c5ad7d1b4f911bb23911bf3
datapath: Convert upcalls and ODP_EXECUTE to use AF_NETLINK socket layer.

This commit calls genl_lock() and thus doesn't support Linux before
2.6.35, 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>
12 files changed:
datapath/actions.c
datapath/datapath.c
datapath/datapath.h
datapath/linux-2.6/Modules.mk
datapath/linux-2.6/compat-2.6/genetlink.inc
datapath/linux-2.6/compat-2.6/include/linux/kernel.h
datapath/linux-2.6/compat-2.6/include/net/genetlink.h
datapath/linux-2.6/compat-2.6/include/net/net_namespace.h [new file with mode: 0644]
include/openvswitch/datapath-protocol.h
lib/dpif-linux.c
lib/dpif.h
ofproto/ofproto.c