Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177604322
D10678.1794826213.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
467 B
Referenced Files
None
Subscribers
None
D10678.1794826213.diff
View Options
Index: sys/net/if_ethersubr.c
===================================================================
--- sys/net/if_ethersubr.c
+++ sys/net/if_ethersubr.c
@@ -916,7 +916,9 @@
sdl->sdl_alen = ifp->if_addrlen;
bcopy(lla, LLADDR(sdl), ifp->if_addrlen);
- bcopy(lla, ifp->if_hw_addr, ifp->if_addrlen);
+ if (ifp->if_hw_addr != NULL) {
+ bcopy(lla, ifp->if_hw_addr, ifp->if_addrlen);
+ }
bpfattach(ifp, DLT_EN10MB, ETHER_HDR_LEN);
if (ng_ether_attach_p != NULL)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 16, 10:50 AM (22 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41774034
Default Alt Text
D10678.1794826213.diff (467 B)
Attached To
Mode
D10678: Fix panic in persistent hardware MAC storage
Attached
Detach File
Event Timeline