HomeFreeBSD

ipsec + ktls: cannot coexists

Description

ipsec + ktls: cannot coexists

but instead of tripping the assert in debug kernel, and silently falling
into UB for prod, skip IPSEC processing for KTLS framed packets when
mb_unmapped_to_ext() failed.

Reviewed by: markj
Sponsored by: NVidia networking
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D48265

Details

Provenance
kibAuthored on Sat, Dec 28, 8:30 AM
Reviewer
markj
Differential Revision
D48265: ipsec: improve integration with unmapped mbufs (on Tx)
Parents
rGcf322978d73a: mb_unmapped_to_ext(): return error code on error
Branches
Unknown
Tags
Unknown