HomeFreeBSD

MFC r333131:

Description

MFC r333131:

Fix iflib_encap() EFBIG handling bugs

  1. Don't give up if m_collapse() fails. Rather than giving up, try

m_defrag() immediately.

  1. Fix a leak where, if the NIC driver rejected the defrag'ed chain

as having too many segments, we would fail to free the chain.

Reviewed by: Matthew Macy <mmacy@mattmacy.io> (this version of patch)
Submitted by: Matthew Macy <mmacy@mattmacy.io> (early version of leak fix)

Details

Provenance
shurdAuthored on
Reviewer
matthew
Parents
rS344471: MFC r344162:
Branches
Unknown
Tags
Unknown