summaryrefslogtreecommitdiff
path: root/ofproto/fail-open.c
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2015-03-02 17:29:44 -0800
committerPravin B Shelar <pshelar@nicira.com>2015-03-03 13:37:39 -0800
commit6fd6ed71cb9f2dba8307da371d5e86c34695783c (patch)
treef531082ec70f33a24c7d7e62c615d8234a0145f3 /ofproto/fail-open.c
parentcf62fa4c7074121184a1f1d07980990113657612 (diff)
downloadopenvswitch-6fd6ed71cb9f2dba8307da371d5e86c34695783c.tar.gz
ofpbuf: Simplify ofpbuf API.
ofpbuf was complicated due to its wide usage across all layers of OVS, Now we have introduced independent dp_packet which can be used for datapath packet, we can simplify ofpbuf. Following patch removes DPDK mbuf and access API of ofpbuf members. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ofproto/fail-open.c')
-rw-r--r--ofproto/fail-open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ofproto/fail-open.c b/ofproto/fail-open.c
index c60f6b9e9..c8d553e46 100644
--- a/ofproto/fail-open.c
+++ b/ofproto/fail-open.c
@@ -232,7 +232,7 @@ fail_open_flushed(struct fail_open *fo)
match_init_catchall(&match);
ofproto_add_flow(fo->ofproto, &match, FAIL_OPEN_PRIORITY,
- ofpbuf_data(&ofpacts), ofpbuf_size(&ofpacts));
+ ofpacts.data, ofpacts.size);
ofpbuf_uninit(&ofpacts);
}