mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR. Adjacent changes: drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c23c93c3b62("bnxt_en: do not map packet buffers twice")6d1add9553("bnxt_en: Modify TX ring indexing logic.") tools/testing/selftests/net/Makefile2258b66648("selftests: add vlan hw filter tests")a0bc96c0cd("selftests: net: verify fq per-band packet limit") Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
@@ -124,7 +124,7 @@
|
||||
#define MPTCP_ERROR_REPORT 3
|
||||
#define MPTCP_RETRANSMIT 4
|
||||
#define MPTCP_FLUSH_JOIN_LIST 5
|
||||
#define MPTCP_CONNECTED 6
|
||||
#define MPTCP_SYNC_STATE 6
|
||||
#define MPTCP_SYNC_SNDBUF 7
|
||||
|
||||
struct mptcp_skb_cb {
|
||||
@@ -296,6 +296,9 @@ struct mptcp_sock {
|
||||
bool use_64bit_ack; /* Set when we received a 64-bit DSN */
|
||||
bool csum_enabled;
|
||||
bool allow_infinite_fallback;
|
||||
u8 pending_state; /* A subflow asked to set this sk_state,
|
||||
* protected by the msk data lock
|
||||
*/
|
||||
u8 mpc_endpoint_id;
|
||||
u8 recvmsg_inq:1,
|
||||
cork:1,
|
||||
@@ -728,7 +731,7 @@ void mptcp_get_options(const struct sk_buff *skb,
|
||||
struct mptcp_options_received *mp_opt);
|
||||
|
||||
void mptcp_finish_connect(struct sock *sk);
|
||||
void __mptcp_set_connected(struct sock *sk);
|
||||
void __mptcp_sync_state(struct sock *sk, int state);
|
||||
void mptcp_reset_tout_timer(struct mptcp_sock *msk, unsigned long fail_tout);
|
||||
|
||||
static inline void mptcp_stop_tout_timer(struct sock *sk)
|
||||
@@ -1124,7 +1127,7 @@ static inline bool subflow_simultaneous_connect(struct sock *sk)
|
||||
{
|
||||
struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(sk);
|
||||
|
||||
return sk->sk_state == TCP_ESTABLISHED &&
|
||||
return (1 << sk->sk_state) & (TCPF_ESTABLISHED | TCPF_FIN_WAIT1) &&
|
||||
is_active_ssk(subflow) &&
|
||||
!subflow->conn_finished;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user