Module Name:    src
Committed By:   christos
Date:           Thu Apr 17 15:34:05 UTC 2014

Modified Files:
        src/sys/dev/pci/ixgbe: ixgbe_82599.c

Log Message:
CID 140077: Add missing break and FALLTHROUGH


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/ixgbe/ixgbe_82599.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/ixgbe/ixgbe_82599.c
diff -u src/sys/dev/pci/ixgbe/ixgbe_82599.c:1.2 src/sys/dev/pci/ixgbe/ixgbe_82599.c:1.3
--- src/sys/dev/pci/ixgbe/ixgbe_82599.c:1.2	Tue Apr  8 15:39:06 2014
+++ src/sys/dev/pci/ixgbe/ixgbe_82599.c	Thu Apr 17 11:34:05 2014
@@ -31,7 +31,7 @@
 
 ******************************************************************************/
 /*$FreeBSD: src/sys/dev/ixgbe/ixgbe_82599.c,v 1.6 2011/01/19 19:36:27 jfv Exp $*/
-/*$NetBSD: ixgbe_82599.c,v 1.2 2014/04/08 19:39:06 christos Exp $*/
+/*$NetBSD: ixgbe_82599.c,v 1.3 2014/04/17 15:34:05 christos Exp $*/
 
 #include "ixgbe_type.h"
 #include "ixgbe_api.h"
@@ -1677,6 +1677,7 @@ s32 ixgbe_fdir_add_perfect_filter_82599(
 	case IXGBE_ATR_FLOW_TYPE_IPV4:
 		/* use the L4 protocol mask for raw IPv4/IPv6 traffic */
 		fdirm |= IXGBE_FDIRM_L4P;
+		break;
 	case IXGBE_ATR_FLOW_TYPE_SCTPV4:
 		if (input_masks->dst_port_mask || input_masks->src_port_mask) {
 			DEBUGOUT(" Error on src/dst port mask\n");
@@ -1705,6 +1706,7 @@ s32 ixgbe_fdir_add_perfect_filter_82599(
 	case 0xEFFF:
 		/* Unmask VLAN ID - bit 0 and fall through to unmask prio */
 		fdirm &= ~IXGBE_FDIRM_VLANID;
+		/*FALLTHROUGH*/
 	case 0xE000:
 		/* Unmask VLAN prio - bit 1 */
 		fdirm &= ~IXGBE_FDIRM_VLANP;

Reply via email to