From: Daniel Pieczko Date: Fri, 29 May 2015 11:25:54 +0000 (+0100) Subject: sfc: free multiple Rx buffers when required X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~2^2~26^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eb0a5d1905235b968dce5c1fda294ac2663d840;p=pandora-kernel.git sfc: free multiple Rx buffers when required 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 Shah Signed-off-by: David S. Miller --- Reading git-diff-tree failed