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, Jul 6, 3:46 PM (9 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34761254
Default Alt Text
D35649.diff (544 B)

Event Timeline