Page MenuHomeFreeBSD

D16259.diff
No OneTemporary

D16259.diff

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

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)

Event Timeline