net/ixgbe/base: fix pointer check
authorXiao Wang <xiao.w.wang@intel.com>
Sun, 25 Sep 2016 08:59:38 +0000 (16:59 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commit11c1941b4a96afcc2092f80a469a41787fa3a492
treea9ef43c8d5be8c7d9ae736923a33ccb9ff687687
parent75d133dd32963c6897f97077c270082f1b4fef4e
net/ixgbe/base: fix pointer check

The vfta_delta value rather than the pointer should be checked.

Fixes: b978f7b38c14 ("net/ixgbe/base: simplify VLAN management")

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/base/ixgbe_common.c