[ovs-dev,V2,05/11] datapath: Fix case statement fall through warning
diff mbox series

Message ID 1582738882-15842-6-git-send-email-gvrose8192@gmail.com
State Superseded
Headers show
Series
  • Add Linux kernel datapath support up to 5.5
Related show

Commit Message

Gregory Rose Feb. 26, 2020, 5:41 p.m. UTC
Add an explicit "Falls Through" comment to fix the warning.

Signed-off-by: Greg Rose <gvrose8192@gmail.com>
---
 datapath/conntrack.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

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.