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:
bz 2007-11-28 21:48:21 +00:00
parent 7d547ae260
commit 0e9e73cbd0

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;
}