rxrpc: uninitialized variable in rxrpc_send_ack_packet()
authorDan Carpenter <error27@gmail.com>
Thu, 17 Nov 2022 07:44:02 +0000 (10:44 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2022 12:03:01 +0000 (12:03 +0000)
commit38461894838bbbebab54cbd5a5459cc8d1b6dd9b
tree619a94a7f242968522c99acc102ddd3a056e533a
parent101c1bb6c55691d01c73915c118828f7ca17a049
rxrpc: uninitialized variable in rxrpc_send_ack_packet()

The "pkt" was supposed to have been deleted in a previous patch.  It
leads to an uninitialized variable bug.

Fixes: 72f0c6fb0579 ("rxrpc: Allocate ACK records at proposal and queue for transmission")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/output.c