Skip to contentSkip to conversation

cdc_ncm: Handle multicast Ethernet traffic

PATCH New Oliver Neukum 1 participant 1 message Jun 29, 2018 USB

lore
Share & tools
lore
#0 lore raw

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_mtu respecting usbnet driver_info

Change the way cdc_ncm_change_mtu hooks into the netdev_ops structure so that changes into usbnet driver_info operations can be respected. Without this, is was not possible to hook into usbnet_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