net/igb: fix flex type filter
authorWei Zhao <wei.zhao1@intel.com>
Fri, 16 Jun 2017 05:04:23 +0000 (13:04 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:56 +0000 (15:00 +0200)
commitb2f68ff87601fc616bffd2e9d2f225fd5ea31b70
tree8729f0a6fcdd9ed57a15e8ef77c823b3c0a755e4
parente1016cb733839cbccb65ad2e46246bb4b8e4708a
net/igb: fix flex type filter

There is a bug in flex type filter parsing because of wrong local
variable index usage.

Bug cause filter to fail and wrong mask calculation.

Fixes: 7cd77faf7129 ("net/igb: parse flow API flex filter")

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
drivers/net/e1000/igb_flow.c