summaryrefslogtreecommitdiffstats
path: root/lib/irq_poll.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2020-10-29 08:05:10 +0100
committerJakub Kicinski <kuba@kernel.org>2020-10-30 23:24:49 +0100
commit046c052b475e7119b6a30e3483e2888fc606a2f8 (patch)
treef25de1668a51e0de2357faa30d0b50fc3abb8519 /lib/irq_poll.c
parentsctp: handle the init chunk matching an existing asoc (diff)
downloadlinux-046c052b475e7119b6a30e3483e2888fc606a2f8.tar.xz
linux-046c052b475e7119b6a30e3483e2888fc606a2f8.zip
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 <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions