Make subsequent code reachable.
Reported by: Coverity CID 1354625 MFC after: 3 days
This commit is contained in:
parent
b0882deadb
commit
54da23a7b3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299870
@ -1165,17 +1165,20 @@ INLINE int
|
||||
ipf_checkv6sum(fin)
|
||||
fr_info_t *fin;
|
||||
{
|
||||
if ((fin->fin_flx & FI_NOCKSUM) != 0)
|
||||
if ((fin->fin_flx & FI_NOCKSUM) != 0) {
|
||||
DT(ipf_checkv6sum_fi_nocksum);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((fin->fin_flx & FI_SHORT) != 0)
|
||||
if ((fin->fin_flx & FI_SHORT) != 0) {
|
||||
DT(ipf_checkv6sum_fi_short);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (fin->fin_cksum != FI_CK_NEEDED)
|
||||
if (fin->fin_cksum != FI_CK_NEEDED) {
|
||||
DT(ipf_checkv6sum_fi_ck_needed);
|
||||
return (fin->fin_cksum > FI_CK_NEEDED) ? 0 : -1;
|
||||
}
|
||||
|
||||
if (ipf_checkl4sum(fin) == -1) {
|
||||
fin->fin_flx |= FI_BAD;
|
||||
|
Loading…
Reference in New Issue
Block a user