Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141107848
D12188.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
542 B
Referenced Files
None
Subscribers
None
D12188.diff
View Options
Index: head/sys/net/ieee8023ad_lacp.c
===================================================================
--- head/sys/net/ieee8023ad_lacp.c
+++ head/sys/net/ieee8023ad_lacp.c
@@ -463,7 +463,11 @@
uint16_t old_key;
bzero((char *)&ifmr, sizeof(ifmr));
- error = (*ifp->if_ioctl)(ifp, SIOCGIFMEDIA, (caddr_t)&ifmr);
+ error = (*ifp->if_ioctl)(ifp, SIOCGIFXMEDIA, (caddr_t)&ifmr);
+ if (error != 0) {
+ bzero((char *)&ifmr, sizeof(ifmr));
+ error = (*ifp->if_ioctl)(ifp, SIOCGIFMEDIA, (caddr_t)&ifmr);
+ }
if (error != 0)
return;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 1, 11:22 PM (20 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27446926
Default Alt Text
D12188.diff (542 B)
Attached To
Mode
D12188: Fix LACP with extended media.
Attached
Detach File
Event Timeline
Log In to Comment