Author: marek Date: 2009-10-09 17:11:51 +0000 (Fri, 09 Oct 2009) New Revision: 1440
Modified: trunk/batman-adv-kernelland/soft-interface.c Log: [batman-adv] remove no checksum flag on bat0 to fix checksumming on certain architectures
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!
Signed-off-by: Andrea Ghittino a.mailevent@gmail.com
Modified: trunk/batman-adv-kernelland/soft-interface.c =================================================================== --- trunk/batman-adv-kernelland/soft-interface.c 2009-09-27 02:21:54 UTC (rev 1439) +++ trunk/batman-adv-kernelland/soft-interface.c 2009-10-09 17:11:51 UTC (rev 1440) @@ -114,7 +114,6 @@ #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29) */ dev->destructor = free_netdev;
- 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 */