Sebastian Haas a écrit : > This patch adds support for one channel CAN/USB interace CPC-USB/ARM7 from > EMS Dr. Thomas Wuensche (http://www.ems-wuensche.com). > > Signed-off-by: Sebastian Haas <haas@xxxxxxxxxxxxxxxx> > --- > ... > + netif_rx(skb); > + > + dev->netdev->last_rx = jiffies; Please dont update last_rx unless your driver *really* needs to. drivers/net/sky2.c is an example of driver that has to update ->last_rx for its internal use. But most drivers dont need it anymore, since core network already update it if necessary (check skb_bond_should_drop()) > + stats->rx_packets++; > + stats->rx_bytes += cf->can_dlc; > +} > + -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html