Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142543955
D47314.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
337 B
Referenced Files
None
Subscribers
None
D47314.diff
View Options
Index: sys/net/if_media.c
===================================================================
--- sys/net/if_media.c
+++ sys/net/if_media.c
@@ -278,7 +278,7 @@
struct ifmedia_entry *ep;
int i;
- if (ifmr->ifm_count < 0)
+ if (ifmr->ifm_count < 0 || ifm->ifm_status == NULL)
return (EINVAL);
if (cmd == SIOCGIFMEDIA) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 21, 8:11 PM (13 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27818359
Default Alt Text
D47314.diff (337 B)
Attached To
Mode
D47314: net/if_media.c: avoid if_bge attach panic on Supermicro H13SSL-N
Attached
Detach File
Event Timeline
Log In to Comment