Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 1996 15:01:25 PDT
From:      Bill Fenner <fenner@parc.xerox.com>
To:        fenner@parc.xerox.com, karl@mcs.net
Cc:        current@freebsd.org, hackers@freebsd.org, pst@jnx.com
Subject:   Re: Crash in -current (from the current SNAP)
Message-ID:  <96Oct10.150140pdt.177476@crevenia.parc.xerox.com>

next in thread | raw e-mail | index | archive | help
>Me smells a problem with the SYN flood patch.

Yup.  Looks to me like tcp_drop() freed the tcpcb/inpcb, but then tcp_input()
wants to use the tcpcb/inpcb.  I suspect that an OK patch might be to turn
the code around line 420 of tcp_input.c into

			if (so2) {
				tcp_drop(sototcpcb(so2), ETIMEDOUT);
				tcp_attach(so2);	/* attach a new pcb */
			} else
				goto drop;

  Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96Oct10.150140pdt.177476>