net/i40e: fix array bounds
authorJingjing Wu <jingjing.wu@intel.com>
Tue, 25 Apr 2017 05:01:01 +0000 (13:01 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Apr 2017 12:46:17 +0000 (14:46 +0200)
commitfe2b27c6343f1446db57a762f42c681ad4c4be00
treea445c00c907e282050213fc78978ce8903c72786
parentc00f307f850a888f887688e88cb13be7e6964bd7
net/i40e: fix array bounds

Fix array bounds when set default ptype mapping.

Fixes: 62e94f7f66fb ("net/i40e: configure packet type mapping")

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_rxtx.c