]> git.droids-corp.org - dpdk.git/commit
net/ice: fix memory allocation insufficiency
authorYuying Zhang <yuying.zhang@intel.com>
Tue, 28 Jun 2022 04:06:51 +0000 (04:06 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 5 Jul 2022 01:55:32 +0000 (03:55 +0200)
commitb84d7eb8862676d2b06e8666ed78479bbbffd17a
tree9b920b0752b74391edd67729f746fe3af82e0ef6
parentf1207728111b4446e1f11e79492597cb6d436ee6
net/ice: fix memory allocation insufficiency

Current code doesn't allocate memory of lookup element to add packet
flag. This patch adds one lookup item in the list to fix this memory
issue.

Fixes: 8b95092b7f69 ("net/ice/base: fix direction of flow that matches any")
Cc: stable@dpdk.org
Signed-off-by: Yuying Zhang <yuying.zhang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_switch_filter.c