summaryrefslogtreecommitdiffhomepage
path: root/src/device.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-07-10 02:33:57 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-07-20 03:37:39 +0200
commit3e1e9b1d112e0665a2007d026d0215235895f765 (patch)
treecda5a69342c548fd8e63ac3a830e5232fb52b81b /src/device.c
parent7615661489cb119ec25e31096874d040fd360a05 (diff)
send: orphan skbs when buffering longterm
Otherwise we quickly use up all of a socket's memory, which prevents a socket from sending packets to other interfaces. This also has the nice effect of letting TCP connections continue to attempt to begin, with the older ones being naturally rotated out and freed, so when a connection finally is made, only the later TCP connections are attempted, not the ones that would already have timed out. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/device.c')
0 files changed, 0 insertions, 0 deletions