diff options
author | Xin Long <[email protected]> | 2020-10-29 15:05:10 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-10-30 15:24:49 -0700 |
commit | 046c052b475e7119b6a30e3483e2888fc606a2f8 (patch) | |
tree | f25de1668a51e0de2357faa30d0b50fc3abb8519 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 1c16a1862595e66d22d34799a9f328defc884369 (diff) |
sctp: enable udp tunneling socks
This patch is to enable udp tunneling socks by calling
sctp_udp_sock_start() in sctp_ctrlsock_init(), and
sctp_udp_sock_stop() in sctp_ctrlsock_exit().
Also add sysctl udp_port to allow changing the listening
sock's port by users.
Wit this patch, the whole sctp over udp feature can be
enabled and used.
v1->v2:
- Also update ctl_sock udp_port in proc_sctp_do_udp_port()
where netns udp_port gets changed.
v2->v3:
- Call htons() when setting sk udp_port from netns udp_port.
v3->v4:
- Not call sctp_udp_sock_start() when new_value is 0.
- Add udp_port entry in ip-sysctl.rst.
v4->v5:
- Not call sctp_udp_sock_start/stop() in sctp_ctrlsock_init/exit().
- Improve the description of udp_port in ip-sysctl.rst.
Signed-off-by: Xin Long <[email protected]>
Acked-by: Marcelo Ricardo Leitner <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions