diff options
| author | Geliang Tang <[email protected]> | 2025-02-28 10:01:31 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-03-04 01:16:34 +0000 |
| commit | 456cc675b6d4cadd4872a477d8976ff56eef4b6f (patch) | |
| tree | 7b10478e9ac52fba8cf90a52f27bd5b3746e469e /net/mptcp/protocol.c | |
| parent | Merge branch 'tcp-misc-changes' (diff) | |
| download | kernel-456cc675b6d4cadd4872a477d8976ff56eef4b6f.tar.gz kernel-456cc675b6d4cadd4872a477d8976ff56eef4b6f.zip | |
sock: add sock_kmemdup helper
This patch adds the sock version of kmemdup() helper, named sock_kmemdup(),
to duplicate the input "src" memory block using the socket's option memory
buffer.
Signed-off-by: Geliang Tang <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Acked-by: Matthieu Baerts (NGI0) <[email protected]>
Link: https://patch.msgid.link/f828077394c7d1f3560123497348b438c875b510.1740735165.git.tanggeliang@kylinos.cn
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/mptcp/protocol.c')
0 files changed, 0 insertions, 0 deletions
