datapath: Move Netlink PID for userspace actions from flows to actions.
authorBen Pfaff <blp@nicira.com>
Wed, 12 Oct 2011 23:24:54 +0000 (16:24 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 12 Oct 2011 23:27:00 +0000 (16:27 -0700)
commit98403001ece61cbf783297c467a06032b200b8d0
tree19123701b08ce6ac93b2a4bf0b4f6fab7042d562
parent69ebca1e35a39d75032f3d8092da563f60673110
datapath: Move Netlink PID for userspace actions from flows to actions.

Commit b063d9f06 "datapath: Use unicast Netlink sockets for upcalls" that
switched from multicast to unicast Netlink for sending upcalls added a
Netlink PID to each kernel flow, used by OVS_ACTION_ATTR_USERSPACE actions
within the flow as target.

This commit drops this per-flow PID in favor of a per-action PID, because
that is more flexible.  It does not yet make use of this additional
flexibility, so behavior should not change.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Bug #7559.
12 files changed:
datapath/actions.c
datapath/datapath.c
datapath/datapath.h
datapath/flow.h
include/openvswitch/datapath-protocol.h
lib/dpif-linux.c
lib/dpif-netdev.c
lib/dpif-provider.h
lib/dpif.c
lib/dpif.h
lib/odp-util.c
ofproto/ofproto-dpif.c