Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153005944
D9164.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
670 B
Referenced Files
None
Subscribers
None
D9164.diff
View Options
Index: head/sys/dev/ixgbe/if_ix.c
===================================================================
--- head/sys/dev/ixgbe/if_ix.c
+++ head/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: head/sys/net/if_media.c
===================================================================
--- head/sys/net/if_media.c
+++ head/sys/net/if_media.c
@@ -107,6 +107,7 @@
LIST_REMOVE(entry, ifm_list);
free(entry, M_IFADDR);
}
+ ifm->ifm_cur = NULL;
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 2:26 PM (2 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31715498
Default Alt Text
D9164.diff (670 B)
Attached To
Mode
D9164: Set ifm_cur to NULL in ifmedia_removeall.
Attached
Detach File
Event Timeline
Log In to Comment