diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-09-20 17:01:47 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-09-22 09:15:16 +0200 |
commit | 5b943e56d6bc9ac63418686a2206759b325c9705 (patch) | |
tree | 7be722d17665ab14206736227c113f2d29e87409 /libnftables.pc.in | |
parent | 593ce1418727cb94c576fbcba9aaadd17fc9f14b (diff) |
mnl: do not cache sender buffer size
SO_SNDBUF never fails, this socket option just provides a hint to the
kernel. SO_SNDBUFFORCE sets the buffer size to zero if the value goes
over INT_MAX. Userspace is caching the buffer hint that sends to the
kernel, so it might leave userspace out of sync if the kernel ignores
the hint. Do not make assumptions, fetch the sender buffer size from the
kernel via getsockopt().
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'libnftables.pc.in')
0 files changed, 0 insertions, 0 deletions