Page MenuHomeFreeBSD

D35649.diff
No OneTemporary

D35649.diff

diff --git a/sys/dev/ixl/ixl_pf_main.c b/sys/dev/ixl/ixl_pf_main.c
--- a/sys/dev/ixl/ixl_pf_main.c
+++ b/sys/dev/ixl/ixl_pf_main.c
@@ -1114,6 +1114,14 @@
ixl_add_hw_filters(vsi, &tmp, cnt);
+ /*
+ * When the vsi is allocated for the VFs, both vsi->hw and vsi->ifp
+ * will be NULL. Furthermore, the ftl of such vsi already contains
+ * IXL_VLAN_ANY filter so we can skip that as well.
+ */
+ if (hw == NULL)
+ return;
+
/* Filter could be removed if MAC address was changed */
ixl_add_filter(vsi, hw->mac.addr, IXL_VLAN_ANY);

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 16, 2:38 PM (5 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29774411
Default Alt Text
D35649.diff (544 B)

Event Timeline