Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

From: Mark Lord
Date: Fri Nov 25 2016 - 07:42:19 EST


On 16-11-25 01:11 AM, Hayes Wang wrote:
> Mark Lord [mailto:mlord@xxxxxxxxx]
..
>> If that "return 0" statement is ever executed, doesn't it result
>> in the loss/leak of a buffer?
>
> They would be found back by calling rtl_start_rx(), when the rx
> is restarted.

Good. I figured it was probably something like that, but wasn't
entirely sure about the control flow around stop/restart there.

Thanks.