[PATCH] net/bonding: fix link status callback stop

Stephen Hemminger stephen at networkplumber.org
Mon Oct 16 17:54:41 CEST 2023


On Mon, 16 Oct 2023 18:33:01 +0800
fengchengwen <fengchengwen at huawei.com> wrote:

> > +	if (internals->link_status_polling_enabled) {
> > +		rte_eal_alarm_cancel(bond_ethdev_member_link_status_change_monitor,
> > +			(void *)&rte_eth_devices[internals->port_id]);

Is the cast to void * actually necessary? 


More information about the stable mailing list