Skip to content

Commit 780aa12

Browse files
Wan Jiabingdavem330
authored andcommitted
mptcp: Fix duplicated argument in protocol.h
Fix the following coccicheck warning: ./net/mptcp/protocol.h:36:50-73: duplicated argument to & or | The OPTION_MPTCP_MPJ_SYNACK here is duplicate. Here should be OPTION_MPTCP_MPJ_ACK. Fixes: 74c7dfb ("mptcp: consolidate in_opt sub-options fields in a bitmask") Signed-off-by: Wan Jiabing <[email protected]> Acked-by: Paolo Abeni <[email protected]> Reviewed-by: Matthieu Baerts <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 0e90dfa commit 780aa12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/mptcp/protocol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#define OPTIONS_MPTCP_MPC (OPTION_MPTCP_MPC_SYN | OPTION_MPTCP_MPC_SYNACK | \
3535
OPTION_MPTCP_MPC_ACK)
3636
#define OPTIONS_MPTCP_MPJ (OPTION_MPTCP_MPJ_SYN | OPTION_MPTCP_MPJ_SYNACK | \
37-
OPTION_MPTCP_MPJ_SYNACK)
37+
OPTION_MPTCP_MPJ_ACK)
3838

3939
/* MPTCP option subtypes */
4040
#define MPTCPOPT_MP_CAPABLE 0

0 commit comments

Comments
 (0)