Commit 7543b8e
netdev-offload-dpdk: Fix memory leak for matching fragments.
The error paths should release any allocated resources that are not
added to the patterns.
Found by Coverity.
Fixes: c1a5d0e ("netdev-offload-dpdk: Support IPv4 fragmentation types.")
Fixes: 1318929 ("netdev-offload-dpdk: Support IPv6 fragmentation types.")
Signed-off-by: Yunjian Wang <[email protected]>
Reviewed-by: David Marchand <[email protected]>
Signed-off-by: Kevin Traynor <[email protected]>1 parent 3b2f252 commit 7543b8e
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1514 | 1514 | | |
1515 | 1515 | | |
1516 | 1516 | | |
| 1517 | + | |
| 1518 | + | |
1517 | 1519 | | |
1518 | 1520 | | |
1519 | 1521 | | |
| |||
1597 | 1599 | | |
1598 | 1600 | | |
1599 | 1601 | | |
| 1602 | + | |
| 1603 | + | |
1600 | 1604 | | |
1601 | 1605 | | |
1602 | 1606 | | |
| |||
0 commit comments