Thread (3 messages) flat view 3 messages, 3 authors, 2021-02-08

Re: [PATCH net-next] rxrpc: use udp tunnel APIs instead of open code in rxrpc_open_socket

From: Vadim Fedorenko <hidden>
Date: 2021-02-07 14:25:15

On 07.02.2021 08:23, Xin Long wrote:
In rxrpc_open_socket(), now it's using sock_create_kern() and
kernel_bind() to create a udp tunnel socket, and other kernel
APIs to set up it. These code can be replaced with udp tunnel
APIs udp_sock_create() and setup_udp_tunnel_sock(), and it'll
simplify rxrpc_open_socket().

Note that with this patch, the udp tunnel socket will always
bind to a random port if transport is not provided by users,
which is suggested by David Howells, thanks!

Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Looks good to me.

Reviewed-by: Vadim Fedorenko <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help