Hi all,
struct rte_eth_dev_data has a member named dev_private and another named
mac_addrs, as shown below:
struct rte_eth_dev_data {
...
void *dev_private;
/**< PMD-specific private data.
* @see rte_eth_dev_release_port()
*/
struct ether_addr *mac_addrs;
/**< Device Ethernet link address.
This bug makes 'lock free reader/writer concurrency hash' unusable.
There are two reasons:
1] memory leak because we cannot free keys which indexes greater than the
number of total entries
2] the ring of free_slots may have unexpected key conflict with in use one
The patch fixes these 2 issue
2 matches
Mail list logo