Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/i40e: fix buffer leak on Rx reconfiguration
[ upstream commit 56dcaa41325a8a347ba52e5d89dce5e8dafa7f8c ] When reconfiguring a single queue on a device, the mbuf initializer value was not getting set, and remained at zero. This lead to mbuf leaks as the refcount was incorrect (0), so on free it wrapped around to UINT16_MAX. When setting up the mbuf initializer, also ensure that the queue is explicitly marked as using a vector function by setting the "rx_using_sse" flag. Fixes: a3c83a2 ("net/i40e: enable runtime queue setup") Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information