Re: iwm: two small Rx code path fixes

2019-08-29 Thread Richard Procter
Hi Stefan, On 28/08/2019, Stefan Sperling wrote: > 1) Fix max frame length check to account for the firmware's Rx result >header in the buffer, which contains two uint16_t fields. >Frame data begins after this header. > > 2) Do not write to mbuf length fields before the mbuf has been

iwm: two small Rx code path fixes

2019-08-27 Thread Stefan Sperling
1) Fix max frame length check to account for the firmware's Rx result header in the buffer, which contains two uint16_t fields. Frame data begins after this header. 2) Do not write to mbuf length fields before the mbuf has been removed from the Rx ring. Based on dragonfly commit