summaryrefslogtreecommitdiffstats
path: root/src/vnet/llc/llc.h
diff options
context:
space:
mode:
authorLijian.Zhang <Lijian.Zhang@arm.com>2019-04-03 16:32:30 +0800
committerDamjan Marion <dmarion@me.com>2019-06-18 10:11:02 +0000
commita8c0b62a88494e9a8562c57dfd3fd75818a629a7 (patch)
treef15ff6a61b40ee893d504237e0a7c003e39853bd /src/vnet/llc/llc.h
parent376efe5df22dcb381fd687a0986f85035c38bed5 (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/llc/llc.h')
0 files changed, 0 insertions, 0 deletions