Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2016 14:06:16 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r301781 - stable/9/sys/netipsec
Message-ID:  <201606101406.u5AE6GiF030145@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606101406.u5AE6GiF030145>