Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161654329
D35649.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
544 B
Referenced Files
None
Subscribers
None
D35649.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D35649: Fix ixl SR-IOV.
Attached
Detach File
Event Timeline
Log In to Comment