Skip to content
Commit 7aa62487 authored by Kamil Maziarz's avatar Kamil Maziarz Committed by Greg Kroah-Hartman
Browse files

ice: Fix XDP memory leak when NIC is brought up and down

[ Upstream commit 78c50d69 ]

Fix the buffer leak that occurs while switching
the port up and down with traffic and XDP by
checking for an active XDP program and freeing all empty TX buffers.

Fixes: efc2214b

 ("ice: Add support for XDP")
Signed-off-by: default avatarKamil Maziarz <kamil.maziarz@intel.com>
Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com> (A Contingent Worker at Intel)
Acked-by: default avatarMaciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 282bad2e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment