lkml.org 
[lkml]   [2002]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to disable TCP's checksum
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/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.055 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site