linux/drivers/net/ethernet/sfc
Daniel Pieczko 9eb0a5d190 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 <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-05-31 17:36:20 -07:00
..
bitfield.h
ef10_regs.h
ef10.c sfc: Revert SRIOV changes. 2015-04-08 16:30:01 -04:00
efx.c powerpc updates for 4.1 2015-04-16 13:53:32 -05:00
efx.h sfc: Revert SRIOV changes. 2015-04-08 16:30:01 -04:00
enum.h sfc:On MCDI timeout, issue an FLR (and mark MCDI to fail-fast) 2014-04-16 14:33:57 -04:00
ethtool.c ethtool: Support for configurable RSS hash function 2014-12-08 21:07:10 -05:00
falcon_boards.c
falcon.c sfc: Revert SRIOV changes. 2015-04-08 16:30:01 -04:00
farch_regs.h
farch.c sfc: Revert SRIOV changes. 2015-04-08 16:30:01 -04:00
filter.h
io.h sfc: PIO:Restrict to 64bit arch and use 64-bit writes. 2014-06-11 15:36:21 -07:00
Kconfig
Makefile sfc: Revert SRIOV changes. 2015-04-08 16:30:01 -04:00
mcdi_mon.c
mcdi_pcol.h ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
mcdi_port.c sfc: Add 40G link capability decoding 2014-07-14 19:11:48 -07:00
mcdi.c sfc: Revert SRIOV changes. 2015-04-08 16:30:01 -04:00
mcdi.h sfc:On MCDI timeout, issue an FLR (and mark MCDI to fail-fast) 2014-04-16 14:33:57 -04:00
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h sfc: Revert SRIOV changes. 2015-04-08 16:30:01 -04:00
nic.c sfc: fix calling of free_irq with already free vector 2014-05-12 14:56:45 -04:00
nic.h sfc: Revert SRIOV changes. 2015-04-08 16:30:01 -04:00
phy.h
ptp.c ptp: sfc: convert to the 64 bit get/set time methods. 2015-03-31 12:01:18 -04:00
qt202x_phy.c
rx.c sfc: free multiple Rx buffers when required 2015-05-31 17:36:20 -07:00
selftest.c sfc: Fix memcpy() with const destination compiler warning. 2015-04-17 15:15:40 -04:00
selftest.h
siena_sriov.c sfc: Revert SRIOV changes. 2015-04-08 16:30:01 -04:00
siena.c sfc: Revert SRIOV changes. 2015-04-08 16:30:01 -04:00
tenxpress.c
tx.c sfc: remove incorrect EFX_BUG_ON_PARANOID check 2014-10-22 12:51:16 -04:00
txc43128_phy.c
vfdi.h ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
workarounds.h