Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
dpdk
0005-kni-use-dedicated-function-to-set-random-M...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-kni-use-dedicated-function-to-set-random-MAC-address.patch of Package dpdk
Index: dpdk-stable-19.11.10/kernel/linux/kni/kni_misc.c =================================================================== --- dpdk-stable-19.11.10.orig/kernel/linux/kni/kni_misc.c +++ dpdk-stable-19.11.10/kernel/linux/kni/kni_misc.c @@ -397,8 +397,8 @@ kni_ioctl_create(struct net *net, uint32 if (is_valid_ether_addr(dev_info.mac_addr)) memcpy(net_dev->dev_addr, dev_info.mac_addr, ETH_ALEN); else - /* Generate random MAC address. */ - eth_random_addr(net_dev->dev_addr); + /* Assign random MAC address. */ + eth_hw_addr_random(net_dev); if (dev_info.mtu) net_dev->mtu = dev_info.mtu;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor