ofproto-dpif-xlate: Handle oversized actions more gracefully.
authorBen Pfaff <blp@nicira.com>
Sat, 2 Nov 2013 15:43:14 +0000 (08:43 -0700)
committerBen Pfaff <blp@nicira.com>
Sat, 2 Nov 2013 15:43:14 +0000 (08:43 -0700)
commit0f032e95d89d24665e66fc31013588435c673fc1
treeb0a60fad77458370f0054d05389070a66144841b
parente5f1da19948e761e44bb1bce283dd134c56e7b43
ofproto-dpif-xlate: Handle oversized actions more gracefully.

If the datapath actions exceed the maximum size of a Netlink attribute
(about 64 kB), then previously we would assert-fail (before commit
542024c4c3d36 "ofproto-dpif-xlate: Suppress oversize datapath actions.")
or just drop all of them (after that commit).  This commit makes OVS cope
by slow-pathing the flow and executing all of its actions in userspace.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif.c
ofproto/ofproto-dpif-xlate.c
tests/ofproto-dpif.at