]> git.ipfire.org Git - thirdparty/strongswan.git/commit
dhcp: Reduce receive buffer size on send socket
authorTobias Brunner <tobias@strongswan.org>
Tue, 10 Apr 2018 16:14:32 +0000 (18:14 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 18 May 2018 16:04:01 +0000 (18:04 +0200)
commit13edecdc20487ad074cc0a7b1b14c8aec9bd9ff9
treeb525c4f2450d7312ace4e4fe9327015979044c1d
parentbecf027cd9b0af162247015a9fff6c00e59fd6ce
dhcp: Reduce receive buffer size on send socket

Since we won't read from the socket reducing the receive buffer saves
some memory and it should also minimize the impact on other processes that
bind the same port (Linux distributes packets to the sockets round-robin).
src/libcharon/plugins/dhcp/dhcp_socket.c