bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#109519: pfinet crashs in tcp_close() because of missing schedule_tim


From: Moritz Schulte
Subject: Bug#109519: pfinet crashs in tcp_close() because of missing schedule_timeout()
Date: 21 Aug 2001 18:20:37 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Package: hurd
Version: N/A
Severity: important

Hi,
with ssh I can easily trigger the following assertion failure in
pfinet:

pfinet: ../../pfinet/glue-include/linux/sched.h:156: schedule_timeout:
Assertion `!"schedule_timeout"' failed.

Here the function from sched.h:

static inline long
schedule_timeout (long timeout)
{
  /* XXX this is only ever called to do SO_LINGER, which we don't support */
  assert (!"schedule_timeout");
  return 0;
}

Marcus suggested to undefine SO_LINGER. That seems to be the right
solution, currently. Otherwise we would need to implement a
schedule_timeout() function. Linux' schedule_timeout() depends on a
lot of other functions, it can't be simply plugged into pfinet.

        moritz
-- 
Moritz Schulte <moritz@chaosdorf.de> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199




reply via email to

[Prev in Thread] Current Thread [Next in Thread]