Message ID | d9bba8670910070812s16f9a1bne9c3ab97d61bf6fd@mail.gmail.com |
---|---|
State | Accepted, archived |
Headers | show |
Hi, > I have solved my problem. > > It is related to the TCP checksum offload function: I am using as embedded > platform PCEngines Alix 3d2, that do not support this function (and also > qemu virtual machines do not support it). > > This patch disable the tx checksum offload and everything now works fine > for me! nice finding ! I looked through kernel source a bit and it seems we can live without that flag (the tun driver also does not set it). I would commit your patch to the repository unless there are objections ? Regards, Marek
--- soft-interface.c.old 2009-10-07 17:10:25.000000000 +0200 +++ soft-interface.c 2009-10-07 17:00:29.000000000 +0200 @@ -114,7 +114,7 @@ #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29) */ dev->destructor = free_netdev; - dev->features |= NETIF_F_NO_CSUM; + /* dev->features |= NETIF_F_NO_CSUM; */ dev->mtu = hardif_min_mtu(); dev->hard_header_len = BAT_HEADER_LEN; /* reserve more space in the skbuff for our header */