Remove stale comments.
MFC after: 1 week
This commit is contained in:
parent
22bbefb2c9
commit
c32396978e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322751
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user