Xin Long
046c052b47
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 >
2020-10-30 15:24:49 -07:00
..
2020-09-29 14:02:53 -07:00
2020-10-15 18:42:13 -07:00
2020-10-09 13:14:19 -07:00
2020-09-03 10:38:22 -07:00
2019-07-31 13:31:56 -06:00
2020-02-28 14:52:36 +01:00
2020-04-28 14:38:38 -07:00
2020-08-31 21:18:00 +02:00
2018-07-18 15:28:27 -07:00
2020-05-01 12:24:43 -07:00
2020-07-04 17:46:21 -07:00
2020-04-28 14:38:38 -07:00
2020-07-04 17:46:21 -07:00
2020-07-28 17:53:03 -07:00
2020-06-26 10:36:30 +02:00
2020-08-14 16:44:20 -07:00
2018-07-18 15:28:27 -07:00
2020-07-04 17:46:21 -07:00
2020-04-30 12:56:36 -07:00
2020-04-28 14:38:39 -07:00
2020-04-30 12:56:36 -07:00
2020-07-22 17:00:37 -07:00
2020-04-28 14:38:39 -07:00
2020-04-28 14:39:45 -07:00
2020-04-28 14:39:46 -07:00
2020-04-28 14:39:46 -07:00
2020-04-28 14:39:46 -07:00
2020-09-22 16:45:34 -07:00
2018-05-28 22:59:54 -04:00
2020-04-28 14:39:46 -07:00
2020-07-31 18:17:51 +02:00
2020-04-28 14:39:46 -07:00
2020-04-28 14:39:46 -07:00
2020-04-28 14:39:46 -07:00
2020-04-28 14:39:46 -07:00
2020-04-28 14:39:46 -07:00
2020-10-15 07:49:41 +02:00
2020-04-28 14:39:47 -07:00
2020-10-15 18:42:13 -07:00
2020-04-28 14:39:47 -07:00
2020-10-30 15:24:49 -07:00
2020-04-28 14:39:47 -07:00
2020-04-28 14:39:47 -07:00
2020-04-28 14:40:18 -07:00
2020-04-28 14:40:18 -07:00
2020-07-04 17:46:21 -07:00
2019-12-08 11:52:02 +01:00
2020-10-29 19:27:45 +01:00
2020-04-28 14:40:19 -07:00
2020-08-22 12:44:37 -07:00
2020-04-30 12:56:35 -07:00
2012-04-10 14:54:07 -04:00
2020-06-08 10:05:53 +02:00
2020-04-30 12:56:36 -07:00
2019-03-18 09:50:21 -07:00
2020-04-30 12:56:36 -07:00
2020-04-10 18:11:04 -07:00
2020-03-03 16:07:02 -08:00
2020-04-30 12:56:36 -07:00
2020-01-03 12:33:54 -08:00
2020-04-30 12:56:36 -07:00
2020-04-30 12:56:36 -07:00
2020-04-30 12:56:36 -07:00
2020-04-30 12:56:36 -07:00
2020-04-30 12:56:36 -07:00
2020-10-20 13:54:53 +02:00
2019-11-23 11:00:19 -08:00
2020-04-30 12:56:36 -07:00
2020-04-30 12:56:37 -07:00
2020-04-30 12:56:38 -07:00
2020-02-21 08:13:30 -08:00
2020-04-30 12:56:37 -07:00
2020-02-23 20:42:47 -08:00
2020-04-30 12:56:37 -07:00
2020-04-30 12:56:37 -07:00
2020-04-30 12:56:37 -07:00
2020-04-30 12:56:37 -07:00
2020-04-30 12:56:37 -07:00
2020-04-30 12:56:37 -07:00
2020-06-08 10:05:53 +02:00
2020-07-04 17:46:21 -07:00
2020-10-13 16:21:54 -07:00
2020-04-30 12:56:38 -07:00
2020-04-30 12:56:38 -07:00
2020-04-30 12:56:38 -07:00
2019-05-20 20:24:34 -04:00
2020-03-03 15:33:55 -08:00
2020-04-28 14:40:18 -07:00
2020-09-15 13:26:28 -07:00
2020-04-30 12:56:38 -07:00
2020-04-30 12:56:38 -07:00
2020-10-09 09:33:23 -06:00
2020-04-30 12:56:38 -07:00
2020-04-30 12:56:38 -07:00
2020-04-30 12:56:38 -07:00
2020-07-15 17:51:30 -07:00
2019-05-22 12:18:20 -07:00
2019-05-22 12:18:20 -07:00
2019-05-22 12:18:20 -07:00
2020-06-27 14:00:23 -07:00
2019-10-05 16:29:00 -07:00
2020-04-30 12:56:38 -07:00
2020-05-01 12:24:40 -07:00
2020-05-01 12:24:40 -07:00
2020-05-01 12:24:40 -07:00
2020-09-28 12:50:12 -07:00
2020-05-01 12:24:40 -07:00
2020-05-01 12:24:40 -07:00
2020-05-01 12:24:40 -07:00
2020-05-01 12:24:40 -07:00
2020-05-01 12:24:41 -07:00
2020-05-01 12:24:41 -07:00