HomeFreeBSD

ipfw: Check for errors from sooptcopyin() and sooptcopyout()

Description

ipfw: Check for errors from sooptcopyin() and sooptcopyout()

Note, it looks like this code may be unused since commit 4a77657cbc01
("ipfw: migrate ipfw to 32-bit size rule numbers"). In particular, it
looks like the ipfw_nat_*_ptr pointers are unused now.

Reviewed by: ae
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D53068

(cherry picked from commit 2df39ce5d4a8836ef5fd3c2666f48041042eff42)

Details

Provenance
markjAuthored on Oct 14 2025, 1:33 PM
Reviewer
ae
Differential Revision
D53068: ipfw: Check for errors from sooptcopyin() and sooptcopyout()
Parents
rG2078f67215e9: exec: Check for errors when mapping the shared object
Branches
Unknown
Tags
Unknown