diff mbox series

Squash-to: "mptcp: recvmsg() can drain data from multiple subflows"

Message ID 2288bed04910bdc36943211ceba127b1bd653e3b.1576665629.git.pabeni@redhat.com
State Accepted, archived
Delegated to: Matthieu Baerts
Headers show
Series Squash-to: "mptcp: recvmsg() can drain data from multiple subflows" | expand

Commit Message

Paolo Abeni Dec. 18, 2019, 10:40 a.m. UTC
Fix reverse X-mas tree variable declaration.

I guess we don't want to mess that right now ;)

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
---
 net/mptcp/protocol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Matthieu Baerts Dec. 18, 2019, 3:14 p.m. UTC | #1
Hi Santa, Paolo,

On 18/12/2019 11:40, Paolo Abeni wrote:
> Fix reverse X-mas tree variable declaration.

Good catch!

> I guess we don't want to mess that right now ;)

:-D

- 7455f5e4ff47: "squashed" in "mptcp: recvmsg() can drain data from 
multiple subflows"
- 7a0e332c7f38..ba600451fc45: result

I will launch the tests later!

Cheers,
Matt
diff mbox series

Patch

diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c
index c33639b38ff2..13f3a202662a 100644
--- a/net/mptcp/protocol.c
+++ b/net/mptcp/protocol.c
@@ -110,8 +110,8 @@  static bool mptcp_ext_cache_refill(struct mptcp_sock *msk)
 
 static struct sock *mptcp_subflow_recv_lookup(const struct mptcp_sock *msk)
 {
-	struct sock *sk = (struct sock *)msk;
 	struct mptcp_subflow_context *subflow;
+	struct sock *sk = (struct sock *)msk;
 
 	sock_owned_by_me(sk);