[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181218.115433.2044623159542485583.davem@davemloft.net>
Date: Tue, 18 Dec 2018 11:54:33 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jhansen@...are.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org,
gregkh@...uxfoundation.org, pv-drivers@...are.com
Subject: Re: [PATCH v2] VSOCK: Send reset control packet when socket is
partially bound
From: Jorgen Hansen <jhansen@...are.com>
Date: Tue, 18 Dec 2018 00:34:06 -0800
> If a server side socket is bound to an address, but not in the listening
> state yet, incoming connection requests should receive a reset control
> packet in response. However, the function used to send the reset
> silently drops the reset packet if the sending socket isn't bound
> to a remote address (as is the case for a bound socket not yet in
> the listening state). This change fixes this by using the src
> of the incoming packet as destination for the reset packet in
> this case.
>
> Fixes: d021c344051a ("VSOCK: Introduce VM Sockets")
> Reviewed-by: Adit Ranadive <aditr@...are.com>
> Reviewed-by: Vishnu Dasa <vdasa@...are.com>
> Signed-off-by: Jorgen Hansen <jhansen@...are.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists