lkml.org 
[lkml]   [1998]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: TCP checksum problems
On Tue, 22 Dec 1998 11:14:51 -0500 (EST), Richard B. Johnson wrote:

>On Tue, 22 Dec 1998, Doug Nazar wrote:
>
>> I've been seeing the for quite sometime, and I finally got a bit of time to look through the code. I haven't got quite the hang of it
>> all yet.
>
>> Dec 22 06:46:48 linux02 kernel: csum=0xa479952d, ip_summed=0, nh=0xc107a09c, h=0xc107a0b0, data=0xc107a0b0
>>
>....err... The checksum isn't a longword (not an int on i386). It's
>a short.

include/linux/skbuff.h shows skb->csum as an unsigned it however it's
irrevelant to my point. If the only time I see bad checksums is when
the skb->h.raw == skb->data and where the final byte is 0xb0 then
perhaps somewhere we are miscalculating something. This is providing
that tcp_v4_rcv() is called for every packet which is what I was trying
to determine.


Doug Nazar

Phone: (416) 708-1578
Fax: (416) 708-8081



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

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