Implement serializing the state of packet traversal in "continuations".
[cascardo/ovs.git] / ovn / controller / pinctrl.c
index 97b7f6c..9e94425 100644 (file)
@@ -75,10 +75,8 @@ process_packet_in(struct controller_ctx *ctx OVS_UNUSED,
                   const struct ofp_header *msg)
 {
     struct ofputil_packet_in pin;
-    uint32_t buffer_id;
-    size_t total_len;
 
-    if (ofputil_decode_packet_in(msg, &pin, &total_len, &buffer_id) != 0) {
+    if (ofputil_decode_packet_in(msg, true, &pin, NULL, NULL, NULL) != 0) {
         return;
     }
     if (pin.reason != OFPR_ACTION) {