HomeFreeBSD

cxgbei: Handle target transfers with excess unsolicited data.

Description

cxgbei: Handle target transfers with excess unsolicited data.

The CTL frontend might have provided a buffer that is smaller than the
FirstBurstLength and thus smaller than the amount of unsolicited data
included in the request PDU. Treat these transfers as an empty
transfer.

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

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

(cherry picked from commit e73e2ee0acf5a0e0f47b9c2bcd73c835c4922fab)

Details