Re: [PATCH] VSOCK: Send reset control packet when socket is partially bound

From: David Miller
Date: Mon Dec 17 2018 - 14:15:24 EST


From: Jorgen Hansen <jhansen@xxxxxxxxxx>
Date: Wed, 12 Dec 2018 01:38:59 -0800

> static int vmci_transport_send_reset_bh(struct sockaddr_vm *dst,
> @@ -312,12 +328,29 @@ static int vmci_transport_send_reset_bh(struct sockaddr_vm *dst,
> static int vmci_transport_send_reset(struct sock *sk,
> struct vmci_transport_packet *pkt)
> {
> + struct sockaddr_vm dst;
> + struct sockaddr_vm *dst_ptr;
> + struct vsock_sock *vsk;
> +

Please order local variables from longest to shortest line.

Thank you.