Commit a34ffec
net/mlx5e: Release skb in case of failure in tc update skb
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: d6d2778 ("net/mlx5: E-Switch, Restore chain id on miss")
Fixes: c756909 ("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>1 parent 5a2ba25 commit a34ffec
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1262 | 1262 | | |
1263 | 1263 | | |
1264 | 1264 | | |
1265 | | - | |
| 1265 | + | |
| 1266 | + | |
1266 | 1267 | | |
| 1268 | + | |
1267 | 1269 | | |
1268 | 1270 | | |
1269 | 1271 | | |
| |||
1316 | 1318 | | |
1317 | 1319 | | |
1318 | 1320 | | |
1319 | | - | |
| 1321 | + | |
| 1322 | + | |
1320 | 1323 | | |
| 1324 | + | |
1321 | 1325 | | |
1322 | 1326 | | |
1323 | 1327 | | |
| |||
1371 | 1375 | | |
1372 | 1376 | | |
1373 | 1377 | | |
1374 | | - | |
| 1378 | + | |
| 1379 | + | |
1375 | 1380 | | |
| 1381 | + | |
1376 | 1382 | | |
1377 | 1383 | | |
1378 | 1384 | | |
| |||
1528 | 1534 | | |
1529 | 1535 | | |
1530 | 1536 | | |
1531 | | - | |
| 1537 | + | |
| 1538 | + | |
1532 | 1539 | | |
| 1540 | + | |
1533 | 1541 | | |
1534 | 1542 | | |
1535 | 1543 | | |
| |||
0 commit comments