[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1450442811.8474.116.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Fri, 18 Dec 2015 04:46:51 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Lorenzo Colitti <lorenzo@...gle.com>
Cc: David Miller <davem@...emloft.net>, netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] tcp: diag: add support for request sockets to
tcp_abort()
On Fri, 2015-12-18 at 17:38 +0900, Lorenzo Colitti wrote:
> On Fri, Dec 18, 2015 at 9:14 AM, Eric Dumazet <eric.dumazet@...il.com> wrote:
> > Adding support for SYN_RECV request sockets to tcp_abort()
> > is quite easy after our tcp listener rewrite.
>
> I added test coverage for this to our tests.
>
> Without this patch, attempting to destroy an SYN_RECV socket using
> SOCK_DESTROY results in EOPNOTSUPP. With this patch, SOCK_DESTROY
> succeeds, and after it does, sock_diag reports no child sockets.
>
> Tested-by: Lorenzo Colitti <lorenzo@...gle.com>
I am curious, did you use packetdrill for this ?
I was about to write a packetdrill test as well ;)
Thanks !
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists