https://github.com/torvalds/linux
Revision 9eb0a5d1905235b968dce5c1fda294ac2663d840 authored by Daniel Pieczko on 29 May 2015, 11:25:54 UTC, committed by David S. Miller on 01 June 2015, 00:36:20 UTC
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 <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent fdf7c64
History
Tip revision: 9eb0a5d1905235b968dce5c1fda294ac2663d840 authored by Daniel Pieczko on 29 May 2015, 11:25:54 UTC
sfc: free multiple Rx buffers when required
Tip revision: 9eb0a5d
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.7 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 303.1 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top