Various clean up patches
Get series with b4
b4 am [email protected]...Versions newest first
- v1 Latest14 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | Remove code for aligning non-swapped compressionsrc/ src/ src/ | +0 | 1 reply | |
| 2/14 | Remove superflous ifdefs around enum like definessrc/ src/ src/ | +0 | 1 reply | |
| 3/14 | Rename tunnel_server_udp_single_threaded to tunnel_server_udpdoc/ doc/ src/ +2 more | +8 | 1 reply | |
| 4/14 | Add documentation on EVENT_READ/EVENT_WRITE constantssrc/ src/ | +13 | 9 replies | |
| 5/14 | Remove unused variable pass_config_infosrc/ | +0 | 1 reply | |
| 6/14 | Remove pointless tun_adjust_frame_parameters functionsrc/ src/ | +1 | 1 reply | |
| 7/14 | Remove unused field txqueuelen from struct tuntapsrc/ | +0 | 1 reply | |
| 8/14 | Remove unused function tls_test_auth_deferred_intervalsrc/ | +0 | 1 reply | |
| 9/14 | Move is_proto function to the socket.h headersrc/ src/ | +38 | 1 reply | |
| 10/14 | Remove thread_mode field of multi_contextsrc/ src/ src/ +1 more | +31 | 1 reply | |
| 11/14 | Remove P2MP mode and check for gettimeofdaysrc/ src/ src/ +19 more | +49 | 3 replies | |
| 12/14 | Extract multi_assign_peer_id into its own functionsrc/ src/ src/ | +32 | 1 reply | |
| 13/14 | log file descriptor in more socket related error messagessrc/ src/ | +10 | 1 reply | |
| 14/14 | Remove do_init_socket_2 and do_init_socket_1 wrapper functionsrc/ src/ src/ | +52 | 1 reply |
Reviews trailers per patch
12 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Gert Doering | Arne Schwabe |
|---|---|---|
| 1/14 | A-b | |
| 2/14 | A-b | |
| 3/14 | A-b | |
| 4/14 | A-b A-b | |
| 5/14 | A-b | |
| 6/14 | A-b | |
| 7/14 | A-b | |
| 8/14 | A-b | |
| 9/14 | A-b | |
| 10/14 | A-b | |
| 11/14 | ||
| 12/14 | A-b | |
| 13/14 | ||
| 14/14 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Openvpn-devel] [PATCH 00/14] Various clean up patches
These are a number of patches that do various cleanups that I did as part of implementing DCO but are good on their own.
Arne Schwabe (14):
Remove code for aligning non-swapped compression Remove superflous ifdefs around enum like defines Rename tunnel_server_udp_single_threaded to tunnel_server_udp Add documentation on EVENT_READ/EVENT_WRITE constants Remove unused variable pass_config_info
Remove pointless tun_adjust_frame_parameters function Remove unused field txqueuelen from struct tuntap Remove unused function tls_test_auth_deferred_interval Move is_proto function to the socket.h header Remove thread_mode field of multi_context
Remove P2MP mode and check for gettimeofday
Extract multi_assign_peer_id into its own function log file descriptor in more socket related error messages Remove do_init_socket_2 and do_init_socket_1 wrapper function
doc/doxygen/doc_eventloop.h | 2 +- doc/doxygen/doc_tunnel_state.h | 2 +- src/compat/compat-gettimeofday.c | 2 +- src/openvpn/comp.h | 6 -- src/openvpn/error.c | 8 +- src/openvpn/event.c | 8 +- src/openvpn/forward.c | 26 +----- src/openvpn/forward.h | 6 -- src/openvpn/helper.c | 3 - src/openvpn/init.c | 122 +------------------------- src/openvpn/manage.c | 4 - src/openvpn/mbuf.c | 3 - src/openvpn/mbuf.h | 3 - src/openvpn/mtcp.c | 7 +- src/openvpn/mtu.h | 6 -- src/openvpn/mudp.c | 45 +--------- src/openvpn/mudp.h | 7 +- src/openvpn/multi.c | 95 +++++++++++--------- src/openvpn/multi.h | 20 +++-- src/openvpn/openvpn.h | 25 +++--- src/openvpn/options.c | 55 ++---------- src/openvpn/options.h | 49 ++++++----- src/openvpn/otime.c | 4 - src/openvpn/pool.c | 4 - src/openvpn/pool.h | 3 - src/openvpn/push.c | 3 - src/openvpn/push.h | 3 - src/openvpn/pushlist.h | 4 +- src/openvpn/route.h | 2 - src/openvpn/shaper.c | 5 +- src/openvpn/shaper.h | 4 - src/openvpn/socket.c | 145 ++++++++++--------------------- src/openvpn/socket.h | 90 +++++++++---------- src/openvpn/ssl.h | 11 --- src/openvpn/ssl_common.h | 4 - src/openvpn/syshead.h | 32 ------- src/openvpn/tun.h | 13 --- 37 files changed, 234 insertions(+), 597 deletions(-)
Signature · 1 line
2.30.1