summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_cong.c
diff options
context:
space:
mode:
authorDaniel Pieczko <dpieczko@solarflare.com>2015-05-29 13:25:54 +0200
committerDavid S. Miller <davem@davemloft.net>2015-06-01 02:36:20 +0200
commit9eb0a5d1905235b968dce5c1fda294ac2663d840 (patch)
tree1a30046617a5c5fcd4daef52c37af597e9281bc0 /net/ipv4/tcp_cong.c
parentMerge branch 'bna-fixes' (diff)
downloadlinux-9eb0a5d1905235b968dce5c1fda294ac2663d840.tar.xz
linux-9eb0a5d1905235b968dce5c1fda294ac2663d840.zip
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>
Diffstat (limited to 'net/ipv4/tcp_cong.c')
0 files changed, 0 insertions, 0 deletions