2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

bundles: Clean up bundle commit.

This fixes ofp_bundle_commit() in two ways:

- Always remove the bundle regardless of the error condition.
- A commit of an empty bundle must be successful.

The actual commit is still not supported.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Jarno Rajahalme
2014-12-22 11:31:18 -08:00
parent ba9d374a7a
commit d56318cf92
2 changed files with 10 additions and 6 deletions

View File

@@ -22,7 +22,6 @@
#include <errno.h>
#include <stdlib.h>
#include "bundle.h"
#include "byte-order.h"
#include "dynamic-string.h"
#include "learn.h"