Re: [PATCH net 1/1] sfc: free multiple Rx buffers when required

2015-05-31 Thread David Miller
From: Shradha Shah Date: Fri, 29 May 2015 12:25:54 +0100 > From: Daniel Pieczko > > When Rx packet data must be dropped, all the buffers > associated with that Rx packet must be freed. Extend > and rename efx_free_rx_buffer() to efx_free_rx_buffers() > and loop through all the fragments. > By d

[PATCH net 1/1] sfc: free multiple Rx buffers when required

2015-05-29 Thread Shradha Shah
From: Daniel Pieczko When Rx packet data must be dropped, all the buffers associated with that Rx packet must be freed. Extend and rename efx_free_rx_buffer() to efx_free_rx_buffers() and loop through all the fragments. By doing so this patch fixes a possible memory leak. Signed-off-by: Shradha