ethernet: fix coverity 214973 99/36999/3
authorAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 23 Aug 2022 15:48:59 +0000 (15:48 +0000)
committerDamjan Marion <dmarion@0xa5.net>
Tue, 30 Aug 2022 14:41:51 +0000 (14:41 +0000)
commit76b8aa00f73390aba91d075125c51b4af6c48ebb
tree8ce4bad3df525afda4f7756c296c47f707b787fc
parent618afb5fb0c1171e4e6bf5bfd642a6050b21ce4f
ethernet: fix coverity 214973

Ensure that the ethernet_input_inline_dmac_check which directly derefererences ei,
is called only if ei is set.

Type: fix
Change-Id: I2d3bce63ee457825a5d375a6102225f3abf67703
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/vnet/ethernet/node.c