From 3bfacf96abc747e3a4bafa7550deb0372d7d0e20 Mon Sep 17 00:00:00 2001 From: Alexander Duyck Date: Mon, 2 Aug 2010 14:59:04 +0000 Subject: [PATCH] ixgbevf: fix null pointer dereference due to filter being set for VLAN 0 This change corrects an issue that resulted in a null pointer dereference for the addition of VLAN 0 without any VLANs being registered. Also this code removes some unnecessary checks for defines and the unnecessary setting of VLAN flags since that is now handled within the kernel via the vlan_features. Signed-off-by: Alexander Duyck Tested-by: Emil Tantilov Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-format-patch failed