rxrpc: Don't set upgrade by default in sendmsg()
authorDavid Howells <dhowells@redhat.com>
Fri, 24 Nov 2017 10:18:40 +0000 (10:18 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 24 Nov 2017 10:18:40 +0000 (10:18 +0000)
Don't set upgrade by default when creating a call from sendmsg().  This is
a holdover from when I was testing the code.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/sendmsg.c

index 3a99b1a..94555c9 100644 (file)
@@ -602,7 +602,7 @@ int rxrpc_do_sendmsg(struct rxrpc_sock *rx, struct msghdr *msg, size_t len)
                .abort_code     = 0,
                .command        = RXRPC_CMD_SEND_DATA,
                .exclusive      = false,
-               .upgrade        = true,
+               .upgrade        = false,
        };
 
        _enter("");