aboutsummaryrefslogtreecommitdiff
path: root/sys/netipsec/ipsec.c
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2017-08-21 13:54:29 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2017-08-21 13:54:29 +0000
commitc32396978ed51c7ad88a7c4c5602dcea74e4cf84 (patch)
treebdec1a3e442a40142c8018f3e10e2d0a7200afc0 /sys/netipsec/ipsec.c
parent22bbefb2c9e93a7695900fab3ade9863a826744f (diff)
downloadsrc-c32396978ed51c7ad88a7c4c5602dcea74e4cf84.tar.gz
src-c32396978ed51c7ad88a7c4c5602dcea74e4cf84.zip
Remove stale comments.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=322751
Diffstat (limited to 'sys/netipsec/ipsec.c')
-rw-r--r--sys/netipsec/ipsec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netipsec/ipsec.c b/sys/netipsec/ipsec.c
index 15be36014a01..a7615078d657 100644
--- a/sys/netipsec/ipsec.c
+++ b/sys/netipsec/ipsec.c
@@ -573,7 +573,6 @@ ipsec4_getpolicy(const struct mbuf *m, struct inpcb *inp, u_int dir,
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 *inp, u_int dir,
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);