Adjust a comment that suggest that we might consider a panic.

Make clear that this is not a good idea when called from
tcp_output()->ipsec_hdrsiz_tcp()->ipsec4_hdrsize_tcp()
as we do not know if IPsec processing is needed at that point.
This commit is contained in:
Bjoern A. Zeeb 2007-11-28 21:48:21 +00:00
parent 773f4e3849
commit 4a67e051a9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174038

View File

@ -1608,7 +1608,9 @@ ipsec4_hdrsiz(m, dir, inp)
KEY_FREESP(&sp);
} else {
size = 0; /* XXX should be panic ? */
size = 0; /* XXX should be panic ?
* -> No, we are called w/o knowing if
* IPsec processing is needed. */
}
return size;
}