diff options
author | Damjan Marion <damarion@cisco.com> | 2019-01-31 12:29:39 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2019-01-31 12:33:16 +0100 |
commit | 24dcbe45209dfdbcf2f1851aa443e696fac050f2 (patch) | |
tree | 95613b567a5df9d6e73e95ade88689a6c0b5d0a2 /src/plugins/dpdk/device/common.c | |
parent | f6e9b014cbd0ba5a757565a6a0179065d7236463 (diff) |
buffers: reinitialize metadata, add additional validation
- DPDK overwrites metadata as part of rte_pktmbuf_init(...) so we need
reinitialize it
- additional checks added to ensure ref_count is never < 1
Change-Id: Ida336f81c4723e8f2e0ad4a70cb7b1ecfff978a0
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/common.c')
0 files changed, 0 insertions, 0 deletions