diff options
author | 2020-11-13 19:16:57 +0100 | |
---|---|---|
committer | 2020-11-16 16:30:50 -0800 | |
commit | 9c79a8ab5f124db01eb1d7287454a702f0d4252f (patch) | |
tree | bb60e96ba63669a19278e03632817a25a02e8b3d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: stmmac: Use rtnl_lock/unlock on netif_set_real_num_rx_queues() call (diff) | |
download | wireguard-linux-9c79a8ab5f124db01eb1d7287454a702f0d4252f.tar.xz wireguard-linux-9c79a8ab5f124db01eb1d7287454a702f0d4252f.zip |
net: mvneta: fix possible memory leak in mvneta_swbm_add_rx_fragment
Recycle the page running page_pool_put_full_page() in
mvneta_swbm_add_rx_fragment routine when the last descriptor
contains just the FCS or if the received packet contains more than
MAX_SKB_FRAGS fragments
Fixes: ca0e014609f0 ("net: mvneta: move skb build after descriptors processing")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/df6a2bad70323ee58d3901491ada31c1ca2a40b9.1605291228.git.lorenzo@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions