Commit 18c93b4
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 6d7a7dd commit 18c93b4
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1526 | 1526 | | |
1527 | 1527 | | |
1528 | 1528 | | |
| 1529 | + | |
| 1530 | + | |
1529 | 1531 | | |
1530 | 1532 | | |
1531 | 1533 | | |
| |||
1609 | 1611 | | |
1610 | 1612 | | |
1611 | 1613 | | |
| 1614 | + | |
| 1615 | + | |
1612 | 1616 | | |
1613 | 1617 | | |
1614 | 1618 | | |
| |||
0 commit comments