HomeFreeBSD

Check for a NULL free buffer pointer in BPF before invoking
rS177596Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Check for a NULL free buffer pointer in BPF before invoking
bpf_canfreebuf() in order to avoid potentially calling a non-inlinable
but trivial function in zero-copy buffer mode for every packet
received when we couldn't free the buffer anyway.

MFC after: 4 months

Details

Provenance
rwatsonAuthored on
Parents
rS177595: Add support for Marvell Libertas 88W8335 based PCI network adapters.
Branches
Unknown
Tags
Unknown

Event Timeline