Re: How to disable TCP's checksum

From: Roberto Nibali (ratz@drugphish.ch)
Date: Wed Feb 27 2002 - 09:21:16 EST


Hello,

Zhu Ying Jie wrote:
> Hi,
> I am currently using kernel version 2.4.2 and trying to disable
> tcp_input's checksum function. However, even I comment all the csum_error
> in the file tcp_input.c, the packet (with wrong checksum) seems still will
> be dropped. Can anyone tell me how to do the work?

You can try to set skb->ip_summed=CHECKSUM_UNNECESSARY. But read the
comments in ../include/linux/skbuff.h to see if you really want that.

HTH,
Roberto Nibali, ratz

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 28 2002 - 21:00:37 EST