`ovsFwdCtx.switchContext` can't be null since it is passed from actions. Add an assert to keep the static analyzer happy.
Signed-off-by: Alin Gabriel Serdean <[email protected]> --- datapath-windows/ovsext/Actions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/datapath-windows/ovsext/Actions.c b/datapath-windows/ovsext/Actions.c index 39539e0..abf29b9 100644 --- a/datapath-windows/ovsext/Actions.c +++ b/datapath-windows/ovsext/Actions.c @@ -2377,6 +2377,7 @@ OvsDoRecirc(POVS_SWITCH_CONTEXT switchContext, srcPortNo, 0, NET_BUFFER_LIST_SWITCH_FORWARDING_DETAIL(curNbl), completionList, layers, TRUE); + ASSERT(ovsFwdCtx.switchContext); flow = OvsLookupFlow(&ovsFwdCtx.switchContext->datapath, key, &hash, FALSE); if (flow) { -- 2.10.2.windows.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
