netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* KERNEL: assertion (!sk->sk_forward_alloc)
@ 2004-11-29 21:18 Anton Blanchard
  2004-11-30  1:22 ` David S. Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Anton Blanchard @ 2004-11-29 21:18 UTC (permalink / raw)
  To: netdev


Hi,

I was running a network test on a machine with a number of e1000s in it
(netperf TCP_RR). The test included a range of message sizes from 64B
up to 64kB. The kernel is 2.6.10-rc2 BK from November 22.

I set tcp_tso_win_divisor to 2:

# cat /proc/sys/net/ipv4/tcp_tso_win_divisor
2

After a while some network assertion errors appeared in the log:

KERNEL: assertion (!sk->sk_forward_alloc) failed at net/core/stream.c (279)
KERNEL: assertion (!sk->sk_forward_alloc) failed at net/ipv4/af_inet.c (180)

Note that this test was run using the send-to-self patch.

Anton

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: KERNEL: assertion (!sk->sk_forward_alloc)
  2004-11-29 21:18 KERNEL: assertion (!sk->sk_forward_alloc) Anton Blanchard
@ 2004-11-30  1:22 ` David S. Miller
  2004-12-05  7:46   ` Anton Blanchard
  0 siblings, 1 reply; 3+ messages in thread
From: David S. Miller @ 2004-11-30  1:22 UTC (permalink / raw)
  To: Anton Blanchard; +Cc: netdev

On Tue, 30 Nov 2004 08:18:57 +1100
Anton Blanchard <anton@samba.org> wrote:

> KERNEL: assertion (!sk->sk_forward_alloc) failed at net/core/stream.c (279)
> KERNEL: assertion (!sk->sk_forward_alloc) failed at net/ipv4/af_inet.c (180)
> 
> Note that this test was run using the send-to-self patch.

Try to reproduce without that patch installed.

If there is any mixup of SKB handling by any element in the
path the packet travels, you're screw up all the TCP
accounting knobs on the socket and easily trigger messages
like the above.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: KERNEL: assertion (!sk->sk_forward_alloc)
  2004-11-30  1:22 ` David S. Miller
@ 2004-12-05  7:46   ` Anton Blanchard
  0 siblings, 0 replies; 3+ messages in thread
From: Anton Blanchard @ 2004-12-05  7:46 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev

 
Hi Dave,

> Try to reproduce without that patch installed.
> 
> If there is any mixup of SKB handling by any element in the
> path the packet travels, you're screw up all the TCP
> accounting knobs on the socket and easily trigger messages
> like the above.

I'll try. FYI we have 70 gigabit cards in that machine, the reason
send-to-self is so useful is that we only need one expensive machine.
Without the patch we need to find two expensive machines with 35
gigabits in each :)

Anton

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-05  7:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-29 21:18 KERNEL: assertion (!sk->sk_forward_alloc) Anton Blanchard
2004-11-30  1:22 ` David S. Miller
2004-12-05  7:46   ` Anton Blanchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).