diff options
| author | Jakub Kicinski <[email protected]> | 2023-05-18 20:06:34 -0700 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-05-18 20:06:34 -0700 |
| commit | 640c48a0880d0af72bc2fcbfc07fe86f650fdb12 (patch) | |
| tree | 717f3e622700d5a009a094688708a2604a91d15e /include | |
| parent | bf9233f913eb17d784ffbfff4ff55bc0772f3063 (diff) | |
| parent | 985de45923e29087a2dcf34bb71f24641d6cc55f (diff) | |
Merge branch 'mptcp-refactor-inet_accept-and-mib-updates'
Mat Martineau says:
====================
mptcp: Refactor inet_accept() and MIB updates
Patches 1 and 2 refactor inet_accept() to provide a new __inet_accept()
that's usable with locked sockets, and then make use of that helper to
simplify mptcp_stream_accept().
Patches 3 and 4 add some new MIBS related to MPTCP address advertisement
and update related selftest scripts.
Patch 5 modifies the selftests to ensure MIBS are only printed once when
a test case fails.
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/inet_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/inet_common.h b/include/net/inet_common.h index cec453c18f1d..77f4b0ef5b92 100644 --- a/include/net/inet_common.h +++ b/include/net/inet_common.h @@ -31,6 +31,8 @@ int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags); int inet_accept(struct socket *sock, struct socket *newsock, int flags, bool kern); +void __inet_accept(struct socket *sock, struct socket *newsock, + struct sock *newsk); int inet_send_prepare(struct sock *sk); int inet_sendmsg(struct socket *sock, struct msghdr *msg, size_t size); ssize_t inet_sendpage(struct socket *sock, struct page *page, int offset, |