cdc_ncm: Handle multicast Ethernet traffic
PATCH 1/2 cdc_ncm: Handle multicast Ethernet traffic
Quoted 7 lines · Miguel Rodríguez Pérez
Subject: [PATCH 1/2] Hook into
usbnet_change_mturespecting usbnetdriver_infoChange the way
cdc_ncm_change_mtuhooks into thenetdev_opsstructure so that changes into usbnetdriver_infooperations can be respected. Without this, is was not possible to hook intousbnet_set_rx_mode.
Hi,
what is wrong with the existing hook?
static void __handle_set_rx_mode(struct usbnet *dev)
{
if (dev->driver_info->set_rx_mode)
(dev->driver_info->set_rx_mode)(dev);
clear_bit(EVENT_SET_RX_MODE, &dev->flags);
}If you cannot use it, I would prefer you to actually fix that.
Regards
Oliver
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html