lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <127841bd0810162249s54a31c4et12430c48694d5a6d@mail.gmail.com>
Date:	Fri, 17 Oct 2008 13:49:29 +0800
From:	"Liqiang Yang" <yliqiang@...il.com>
To:	netdev@...r.kernel.org
Subject: About tcp header misalignment

Hi,All

We runing linux-2.6.14 on a MIPS like platform,
When running a bittorrent client, there is a misalignment in tcp
header occurs randomly.
Now, we know that it caused by line 319 of net/ipv4/tcp_output.c.

       th = (struct tcphdr *) skb_push(skb, tcp_header_size);
       skb->h.th = th;
       skb_set_owner_w(skb, sk);
       /* Build TCP header and checksum it. */
       th->source = inet->sport;(Line 319 of tcp_output.c)

th: 82ffa881

Call Trace:
 [<80373acc>] tcp_transmit_skb+0xcc0/0xd10
 [<80373ad8>] tcp_transmit_skb+0xccc/0xd10
 [<80374ab4>] tcp_retransmit_skb+0x178/0x8f4
 [<80374aa0>] tcp_retransmit_skb+0x164/0x8f4
 [<8035502c>] ip_rcv+0x4d0/0x704
 [<803778f8>] tcp_write_timer+0x37c/0x8e0
 [<80377a70>] tcp_write_timer+0x4f4/0x8e0
 [<80039a40>] update_process_times+0x90/0x1bc
 [<8037757c>] tcp_write_timer+0x0/0x8e0
 [<80039ccc>] run_timer_softirq+0x160/0x2b4
 [<80008c0c>] timer_interrupt+0x13c/0x2ac
 [<80008c0c>] timer_interrupt+0x13c/0x2ac
 [<80033a80>] __do_softirq+0xa8/0x14c
 [<80033bcc>] do_softirq+0xa8/0xb0
 [<80003888>] do_IRQ+0x34/0x4c
 [<800016cc>] c2IRQ+0x10c/0x1a0
 [<80003b10>] cpu_idle+0x30/0x3c
 [<80003afc>] cpu_idle+0x1c/0x3c
 [<805386d4>] start_kernel+0x268/0x28c
 [<805386cc>] start_kernel+0x260/0x28c
 [<805386a0>] start_kernel+0x234/0x28c
 [<80000800>] kernel_entry_jump+0x0/0x20

Could you give me some advices how to fix the problems.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ