diff mbox series

squash-to: "mptcp: Handle MPTCP TCP options"

Message ID 5c5db07440151ba4d26bbbda2a49290e5a8fe9f9.1576252967.git.dcaratti@redhat.com
State Accepted, archived
Delegated to: Matthieu Baerts
Headers show
Series squash-to: "mptcp: Handle MPTCP TCP options" | expand

Commit Message

Davide Caratti Dec. 13, 2019, 4:05 p.m. UTC
checkpatch fixes

Signed-off-by: Davide Caratti <dcaratti@redhat.com>
---
 include/linux/tcp.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Paolo Abeni Dec. 13, 2019, 4:10 p.m. UTC | #1
On Fri, 2019-12-13 at 17:05 +0100, Davide Caratti wrote:
> checkpatch fixes
> 
> Signed-off-by: Davide Caratti <dcaratti@redhat.com>
> ---
>  include/linux/tcp.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/include/linux/tcp.h b/include/linux/tcp.h
> index e5859d671111..52798ab00394 100644
> --- a/include/linux/tcp.h
> +++ b/include/linux/tcp.h
> @@ -118,7 +118,8 @@ static inline void tcp_clear_options(struct tcp_options_received *rx_opt)
>  	rx_opt->smc_ok = 0;
>  #endif
>  #if IS_ENABLED(CONFIG_MPTCP)
> -	rx_opt->mptcp.mp_capable = rx_opt->mptcp.mp_join = 0;
> +	rx_opt->mptcp.mp_capable = 0;
> +	rx_opt->mptcp.mp_join = 0;
>  	rx_opt->mptcp.dss = 0;
>  #endif
>  }

ACK
diff mbox series

Patch

diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index e5859d671111..52798ab00394 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -118,7 +118,8 @@  static inline void tcp_clear_options(struct tcp_options_received *rx_opt)
 	rx_opt->smc_ok = 0;
 #endif
 #if IS_ENABLED(CONFIG_MPTCP)
-	rx_opt->mptcp.mp_capable = rx_opt->mptcp.mp_join = 0;
+	rx_opt->mptcp.mp_capable = 0;
+	rx_opt->mptcp.mp_join = 0;
 	rx_opt->mptcp.dss = 0;
 #endif
 }