Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147280114
D10678.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
476 B
Referenced Files
None
Subscribers
None
D10678.diff
View Options
Index: head/sys/net/if_ethersubr.c
===================================================================
--- head/sys/net/if_ethersubr.c
+++ head/sys/net/if_ethersubr.c
@@ -916,7 +916,8 @@
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
Tue, Mar 10, 4:01 PM (6 h, 29 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29473349
Default Alt Text
D10678.diff (476 B)
Attached To
Mode
D10678: Fix panic in persistent hardware MAC storage
Attached
Detach File
Event Timeline
Log In to Comment