On Wed, Jul 10, 2002 at 12:07:57PM +0200, Wolfgang Wegner wrote: > [netif_rx dropping packets] > > hi again, > > seems it was all caused by me incorrectly setting up > dev->hard_header = NULL; > causing tcpdump and ethereal to misinterpret packets. Now everything > works fine! Offsets were right from the beginning it seems, but i had > a checksum computation bug, causing the kernel to discard my packets, > and then broke things for the kernel when trying to make tcpdump happy. You will probably want to set: skb->ip_summed = CHECKSUM_UNNECESSARY as well for each upgoing packet. And perhaps your device needs: dev->features = NETIF_F_HW_CSUM|NETIF_F_IP_CSUM; to eliminate incoming packets from being checksummed needlessly.. All this will work as long as you packets stay within the system. If you ever get packets to go out, those feature flags are dangerous. > Wolfgang /Matti Aarnio - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html