svn commit: r322751 - head/sys/netipsec

Andrey V. Elsukov ae at FreeBSD.org
Mon Aug 21 13:54:31 UTC 2017


Author: ae
Date: Mon Aug 21 13:54:29 2017
New Revision: 322751
URL: https://svnweb.freebsd.org/changeset/base/322751

Log:
  Remove stale comments.
  
  MFC after:	1 week

Modified:
  head/sys/netipsec/ipsec.c

Modified: head/sys/netipsec/ipsec.c
==============================================================================
--- head/sys/netipsec/ipsec.c	Mon Aug 21 13:52:21 2017	(r322750)
+++ head/sys/netipsec/ipsec.c	Mon Aug 21 13:54:29 2017	(r322751)
@@ -573,7 +573,6 @@ ipsec4_getpolicy(const struct mbuf *m, struct inpcb *i
 	if (sp == NULL && key_havesp(dir)) {
 		/* Make an index to look for a policy. */
 		ipsec4_setspidx_ipaddr(m, &spidx);
-		/* Fill ports in spidx if we have inpcb. */
 		ipsec4_get_ulp(m, &spidx, needport);
 		spidx.dir = dir;
 		sp = key_allocsp(&spidx, dir);
@@ -743,7 +742,6 @@ ipsec6_getpolicy(const struct mbuf *m, struct inpcb *i
 	if (sp == NULL && key_havesp(dir)) {
 		/* Make an index to look for a policy. */
 		ipsec6_setspidx_ipaddr(m, &spidx);
-		/* Fill ports in spidx if we have inpcb. */
 		ipsec6_get_ulp(m, &spidx, needport);
 		spidx.dir = dir;
 		sp = key_allocsp(&spidx, dir);


More information about the svn-src-all mailing list