Re: 2.2.0-pre7 nasty oops in TCP code ?!?!?

kuznet@ms2.inr.ac.ru
Mon, 25 Jan 1999 21:24:50 +0300 (MSK)


Hello!

> Please see atached files for details on the oops, kernel config, and
> other infos from /proc dir as well as dmesg output.

Please, look at net/ipv4/tcp_timer.c, function tcp_delack_timer().
It should look as:

void tcp_delack_timer(unsigned long data)
{
struct sock *sk = (struct sock*)data;

if(!sk->zapped &&
sk->tp_pinfo.af_tcp.delayed_acks &&
sk->state != TCP_CLOSE) {
/* If socket is currently locked, defer the ACK. */
if (!atomic_read(&sk->sock_readers))
tcp_send_ack(sk);
else
tcp_send_delayed_ack(&(sk->tp_pinfo.af_tcp), HZ/10);
}
}

Is it true?

Alexey Kuznetsov

-
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/