| .. | .. |
|---|
| 58 | 58 | }; |
|---|
| 59 | 59 | |
|---|
| 60 | 60 | #ifdef CONFIG_MPTCP |
|---|
| 61 | | -extern struct request_sock_ops mptcp_subflow_request_sock_ops; |
|---|
| 62 | | - |
|---|
| 63 | 61 | void mptcp_init(void); |
|---|
| 64 | 62 | |
|---|
| 65 | 63 | static inline bool sk_is_mptcp(const struct sock *sk) |
|---|
| .. | .. |
|---|
| 133 | 131 | int mptcp_subflow_init_cookie_req(struct request_sock *req, |
|---|
| 134 | 132 | const struct sock *sk_listener, |
|---|
| 135 | 133 | struct sk_buff *skb); |
|---|
| 134 | +struct request_sock *mptcp_subflow_reqsk_alloc(const struct request_sock_ops *ops, |
|---|
| 135 | + struct sock *sk_listener, |
|---|
| 136 | + bool attach_listener); |
|---|
| 136 | 137 | #else |
|---|
| 137 | 138 | |
|---|
| 138 | 139 | static inline void mptcp_init(void) |
|---|
| .. | .. |
|---|
| 208 | 209 | { |
|---|
| 209 | 210 | return 0; /* TCP fallback */ |
|---|
| 210 | 211 | } |
|---|
| 212 | + |
|---|
| 213 | +static inline struct request_sock *mptcp_subflow_reqsk_alloc(const struct request_sock_ops *ops, |
|---|
| 214 | + struct sock *sk_listener, |
|---|
| 215 | + bool attach_listener) |
|---|
| 216 | +{ |
|---|
| 217 | + return NULL; |
|---|
| 218 | +} |
|---|
| 211 | 219 | #endif /* CONFIG_MPTCP */ |
|---|
| 212 | 220 | |
|---|
| 213 | 221 | #if IS_ENABLED(CONFIG_MPTCP_IPV6) |
|---|