svn commit: r301781 - stable/9/sys/netipsec

Garrett Cooper ngie at FreeBSD.org
Fri Jun 10 14:06:17 UTC 2016


Author: ngie
Date: Fri Jun 10 14:06:16 2016
New Revision: 301781
URL: https://svnweb.freebsd.org/changeset/base/301781

Log:
  MFstable/10 r301780:
  
  MFC r299387:
  r299387 (by cem):
  
  netipsec: Fix minor style nit
  
  Coverity points out that 'continue' is equivalent to 'break' in a do {}
  while(false) loop.
  
  CID:		1354983

Modified:
  stable/9/sys/netipsec/key.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netipsec/key.c
==============================================================================
--- stable/9/sys/netipsec/key.c	Fri Jun 10 13:57:56 2016	(r301780)
+++ stable/9/sys/netipsec/key.c	Fri Jun 10 14:06:16 2016	(r301781)
@@ -347,7 +347,7 @@ do { \
 	if ((head) != (sav)) {						\
 		ipseclog((LOG_DEBUG, "%s: state mismatched (TREE=%d SA=%d)\n", \
 			(name), (head), (sav)));			\
-		continue;						\
+		break;							\
 	}								\
 } while (0)
 


More information about the svn-src-all mailing list