[ovs-dev] [PATCH V2 05/11] datapath: Fix case statement fall through warning
Greg Rose
gvrose8192 at gmail.com
Wed Feb 26 17:41:16 UTC 2020
Add an explicit "Falls Through" comment to fix the warning.
Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
---
datapath/conntrack.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/datapath/conntrack.c b/datapath/conntrack.c
index 25da2a5..ad49daa 100644
--- a/datapath/conntrack.c
+++ b/datapath/conntrack.c
@@ -846,6 +846,7 @@ static int ovs_ct_nat_execute(struct sk_buff *skb, struct nf_conn *ct,
}
}
/* Non-ICMP, fall thru to initialize if needed. */
+ /* Falls through */
case IP_CT_NEW:
/* Seen it before? This can happen for loopback, retrans,
* or local packets.
--
1.8.3.1
More information about the dev
mailing list