[Openvpn-devel] [PATCH 2/3 (release/2.2)] cleanup: merge packet_id_alloc_outgoing() into packet_id_write()

2017-05-11 Thread Steffan Karger
From: Steffan Karger The functions packet_id_alloc_outgoing() and packet_id_write() were always called in tandem. Instead of forcing the caller to allocate a packet_id_net to do so, merge the two functions. This simplifies the API and reduces the chance on mistakes in the future. This patch wa

[Openvpn-devel] [PATCH 2/3 (release/2.2)] cleanup: merge packet_id_alloc_outgoing() into packet_id_write()

2017-05-11 Thread Steffan Karger
From: Steffan Karger The functions packet_id_alloc_outgoing() and packet_id_write() were always called in tandem. Instead of forcing the caller to allocate a packet_id_net to do so, merge the two functions. This simplifies the API and reduces the chance on mistakes in the future. This patch wa