diff options
author | Maor Dickman <maord@nvidia.com> | 2021-01-31 19:47:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-10 11:29:14 +0300 |
commit | 6a5c3bac805461acaf3cf33fcaa695377155b603 (patch) | |
tree | 37c40fc6126e86dd71c3eba501d88ee9c9dc81e8 /net/lapb/lapb_out.c | |
parent | c2b2c4d24b40f5981a345fdd40691154ac5b33ac (diff) | |
download | linux-6a5c3bac805461acaf3cf33fcaa695377155b603.tar.xz |
net/mlx5e: Release skb in case of failure in tc update skb
[ Upstream commit a34ffec8af8ff1c730697a99e09ec7b74a3423b6 ]
In case of failure in tc update skb the packet is dropped
without freeing the skb.
Fixed by freeing the skb in case failure in tc update skb.
Fixes: d6d27782864f ("net/mlx5: E-Switch, Restore chain id on miss")
Fixes: c75690972228 ("net/mlx5e: Add tc chains offload support for nic flows")
Signed-off-by: Maor Dickman <maord@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions