diff options
author | Lijian.Zhang <Lijian.Zhang@arm.com> | 2019-04-03 16:32:30 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-06-18 10:11:02 +0000 |
commit | a8c0b62a88494e9a8562c57dfd3fd75818a629a7 (patch) | |
tree | f15ff6a61b40ee893d504237e0a7c003e39853bd /src/vnet/ip | |
parent | 376efe5df22dcb381fd687a0986f85035c38bed5 (diff) |
dpdk: check result of rte_mempool_create_empty
Check the returned pointer, report error and return in case of failure.
This avoids crashing without any useful clues or debug messages.
Type: fix
Change-Id: I15d0735a531c2d9a8b6f67b7d6fe326b98c963c3
Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com>
Reviewed-by: Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>
Diffstat (limited to 'src/vnet/ip')
0 files changed, 0 insertions, 0 deletions