Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2007 08:48:12 -0800
From:      "Kip Macy" <kip.macy@gmail.com>
To:        "Robert Watson" <rwatson@freebsd.org>, "Sam Leffler" <sam@errno.com>,  freebsd-arch@freebsd.org, "FreeBSD Current" <freebsd-current@freebsd.org>
Subject:   Re: pending changes for TOE support
Message-ID:  <b1fa29170712160848y5a34a296sa8ab368770f71730@mail.gmail.com>
In-Reply-To: <20071216111315.C49036@fledge.watson.org>
References:  <b1fa29170712121303x537fd11fj4b8827bb353ad8e4@mail.gmail.com> <b1fa29170712150057m690bd36bm7a1910969e92293b@mail.gmail.com> <20071215100351.Q70617@fledge.watson.org> <b1fa29170712151040icb371efseaf61d9b79907b24@mail.gmail.com> <20071216111315.C49036@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Reset is fine, given that internally it just calls t3_send_reset.


On 12/16/07, Robert Watson <rwatson@freebsd.org> wrote:
>
> On Sat, 15 Dec 2007, Kip Macy wrote:
>
> >> + * + tu_abort
> >> + *   - closes the connection and sends a RST to peer
> >> + *   - driver is expectd to trigger an RST and detach the toepcb
> >>
> >> In regular TCP, the pru_abort method is only called on pending
> connections
> >> while still in the listen queues of a listen socket.  Is this true of
> >> tu_abort, or is tu_abort a more general method to be used to cancel
> >> connections?  If so, probably worth commenting on that.
> >
> > tu_abort is called in place of tcp_output in pru_abort.
>
> The reason I ask is that it appears tu_abort appears to be the only
> interface
> allowing the stack to request that TOE reset of a connection.  In regular
> TCP,
> soabort/pru_abort/tcp_usr_abort are used only on nascent unaccepted
> connections; at least one other path, used by tcpdrop(8), can lead to
> connections being reset as well.  Perhaps a more general tu_reset could be
> used to address this?  I'm not sure what other direct-to-reset paths exist
> but
> a review for them may be called for.
>
> Robert N M Watson
> Computer Laboratory
> University of Cambridge
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b1fa29170712160848y5a34a296sa8ab368770f71730>