HomeFreeBSD

cxgbei: Explicitly clear the page pode reservation pointer after freeing it.

Description

cxgbei: Explicitly clear the page pode reservation pointer after freeing it.

A single union ctl_io can be reused across multiple transfers (in
particular by the ramdisk backend). On a reuse, the reservation
pointer would retain its value from the previous transfer tripping an
assertion.

Reported by: Jithesh Arakkan @ Chelsio
Sponsored by: Chelsio Communications

Differential Revision: https://reviews.freebsd.org/D29939

(cherry picked from commit e894e3adb206815c2acff17a4011becb166c2f66)

Details

Provenance
jhbAuthored on May 14 2021, 7:20 PM
Differential Revision
D29939: cxgbei: Explicitly clear the page pode reservation pointer after freeing it.
Parents
rGa780968e04ba: cxgbei: Don't clamp iSCSI PDUs to 8K.
Branches
Unknown
Tags
Unknown