diff options
| author | Florian Westphal <fw@strlen.de> | 2023-10-11 09:59:37 +0200 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2023-10-18 10:26:43 +0200 |
| commit | 35c038b0a4be197679deefaf96998241cb7efc88 (patch) | |
| tree | 74b83200f08035ab4dbf5ea1756de7fb7ad05c79 /lib/crypto/mpi/mpiutil.c | |
| parent | 6291b3a67ad55102f163f6a636bc540e460f892d (diff) | |
netfilter: nf_nat: mask out non-verdict bits when checking return value
Same as previous change: we need to mask out the non-verdict bits, as
upcoming patches may embed an errno value in NF_STOLEN verdicts too.
NF_DROP could already do this, but not all called functions do this.
Checks that only test ret vs NF_ACCEPT are fine, the 'errno parts'
are always 0 for those.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
