Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178349695
D9164.1796552971.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
680 B
Referenced Files
None
Subscribers
None
D9164.1796552971.diff
View Options
Index: sys/dev/ixgbe/if_ix.c
===================================================================
--- sys/dev/ixgbe/if_ix.c
+++ sys/dev/ixgbe/if_ix.c
@@ -3878,6 +3878,7 @@
/* Adjust media types shown in ifconfig */
ifmedia_removeall(&adapter->media);
ixgbe_add_media_types(adapter);
+ ifmedia_set(&adapter->media, IFM_ETHER | IFM_AUTO);
IXGBE_CORE_UNLOCK(adapter);
return;
}
Index: sys/net/if_media.c
===================================================================
--- sys/net/if_media.c
+++ sys/net/if_media.c
@@ -107,6 +107,9 @@
LIST_REMOVE(entry, ifm_list);
free(entry, M_IFADDR);
}
+ /* Begin Isilon */
+ ifm->ifm_cur = NULL;
+ /* End Isilon */
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 6, 10:29 AM (19 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42253782
Default Alt Text
D9164.1796552971.diff (680 B)
Attached To
Mode
D9164: Set ifm_cur to NULL in ifmedia_removeall.
Attached
Detach File
Event Timeline