datapath: Convert ODP_DP_* commands to use AF_NETLINK socket layer.
authorBen Pfaff <blp@nicira.com>
Fri, 28 Jan 2011 21:55:04 +0000 (13:55 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Jan 2011 21:55:04 +0000 (13:55 -0800)
commitaaff4b55a7992ac47a143abb6bffac5c931f073a
tree6193c11f1cc06814b82413cde5805e2523caa45e
parent982b88105d0a82ab90b233bf68e4e51ac9cddd23
datapath: Convert ODP_DP_* commands 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>
datapath/datapath.c
datapath/linux-2.6/compat-2.6/genetlink.inc
datapath/linux-2.6/compat-2.6/include/linux/rtnetlink.h
datapath/linux-2.6/compat-2.6/include/net/genetlink.h
datapath/linux-2.6/compat-2.6/include/net/netlink.h
include/openvswitch/datapath-protocol.h
lib/dpif-linux.c