Re: How to disable TCP's checksum

Roberto Nibali (ratz@drugphish.ch)
Wed, 27 Feb 2002 15:21:16 +0100


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/