datapath: Don't dump partial action lists in flows.
authorBen Pfaff <blp@nicira.com>
Mon, 21 Jan 2013 11:59:16 +0000 (03:59 -0800)
committerJesse Gross <jesse@nicira.com>
Tue, 22 Jan 2013 01:35:21 +0000 (17:35 -0800)
commitd1a0ac221a9704ff6a6c25dacdd81d209e39cb0f
treeca186a369389481b224564bcf31b36418c0c1c20
parentca9fddab41cdae9a3c9460aebadd4f29ba0727be
datapath: Don't dump partial action lists in flows.

After commit 9b405f1aa8d175dc63ad3ffe5d0fe05d5ee09162 (datapath: More
flexible kernel/userspace tunneling attribute.), it was possible for a
flow dump to return a partial action list.  It's better to return no
action list at all in this situation since then userspace will know
that it should request the full thing if it wants rather than have
incorrect results.  Therefore, this prevents those partial lists in
situations where we have a very large number of actions.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c