net/igb: fix access bound in ethertype filter
authorKuba Kozak <kubax.kozak@intel.com>
Tue, 25 Jul 2017 12:19:25 +0000 (14:19 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jul 2017 17:58:41 +0000 (19:58 +0200)
commiteb41bf795f3d5be665a0d52ae568d7df7fa8341c
tree9fe55d03e7eea114992841930f361bb1ecd89970
parent980543f754be9d87b93392c8e814ba35b26482e5
net/igb: fix access bound in ethertype filter

Fix wrong structure type used as argument in memset() call.

Coverity issue: 147223
Coverity issue: 147227
Fixes: a8600af43738 ("net/igb: parse flow API ethertype filter")
Fixes: 22bb13410cb2 ("net/igb: create consistent filter")
Cc: stable@dpdk.org
Signed-off-by: Kuba Kozak <kubax.kozak@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/e1000/igb_flow.c