Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106147743
D16259.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
434 B
Referenced Files
None
Subscribers
None
D16259.diff
View Options
Index: head/sys/dev/vnic/thunder_bgx_fdt.c
===================================================================
--- head/sys/dev/vnic/thunder_bgx_fdt.c
+++ head/sys/dev/vnic/thunder_bgx_fdt.c
@@ -193,7 +193,8 @@
if (sz > size)
return (FALSE);
- if (strncmp(phy_name, type, sz) == 0)
+ if (strncmp(phy_name, type, sz - 1) == 0 &&
+ (phy_name[sz - 1] == '\0' || phy_name[sz - 1] == '@'))
return (TRUE);
return (FALSE);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 4:37 AM (10 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15611213
Default Alt Text
D16259.diff (434 B)
Attached To
Mode
D16259: Fix vnic fallback PHY name matching after r334880.
Attached
Detach File
Event Timeline
Log In to Comment