]> git.proxmox.com Git - mirror_ovs.git/commitdiff
datapath-windows: Fix alignment in actions
authorAlin Serdean <aserdean@cloudbasesolutions.com>
Wed, 17 May 2017 12:57:01 +0000 (12:57 +0000)
committerGurucharan Shetty <guru@ovn.org>
Tue, 23 May 2017 22:25:19 +0000 (15:25 -0700)
Found by inspection.

Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Acked-by: Anand Kumar <kumaranand at vmware.com>
datapath-windows/ovsext/Actions.c

index e2eae9a88cce4ffe91ed544a7428ce45a5d1e165..ebfb8a3e77d4ff30b3325ab7d4dbdce911bd8d01 100644 (file)
@@ -2035,18 +2035,18 @@ OvsDoExecuteActions(POVS_SWITCH_CONTEXT switchContext,
                 }
                 goto dropit;
             } else if (oldNbl != ovsFwdCtx.curNbl) {
-               /*
-                * OvsIpv4Reassemble consumes the original NBL and creates a
-                * new one and assigns it to the curNbl of ovsFwdCtx.
-                */
-               OvsInitForwardingCtx(&ovsFwdCtx,
-                                    ovsFwdCtx.switchContext,
-                                    ovsFwdCtx.curNbl,
-                                    ovsFwdCtx.srcVportNo,
-                                    ovsFwdCtx.sendFlags,
-                                    NET_BUFFER_LIST_SWITCH_FORWARDING_DETAIL(ovsFwdCtx.curNbl),
-                                    ovsFwdCtx.completionList,
-                                    &ovsFwdCtx.layers, FALSE);
+                /*
+                 * OvsIpv4Reassemble consumes the original NBL and creates a
+                 * new one and assigns it to the curNbl of ovsFwdCtx.
+                 */
+                OvsInitForwardingCtx(&ovsFwdCtx,
+                                     ovsFwdCtx.switchContext,
+                                     ovsFwdCtx.curNbl,
+                                     ovsFwdCtx.srcVportNo,
+                                     ovsFwdCtx.sendFlags,
+                                     NET_BUFFER_LIST_SWITCH_FORWARDING_DETAIL(ovsFwdCtx.curNbl),
+                                     ovsFwdCtx.completionList,
+                                     &ovsFwdCtx.layers, FALSE);
             }
             break;
         }