]> git.ipfire.org Git - thirdparty/nftables.git/commit
mnl: larger receive socket buffer for netlink errors
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 13 Sep 2020 16:05:08 +0000 (18:05 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 14 Sep 2020 11:47:37 +0000 (13:47 +0200)
commitfc0138b9ec8a2780cd59f31927abab896f6836c3
treea0a26967f6d982c441a207e33897334bb44f4512
parent8e58e96075dea109d217ba7070043e0d5d574b66
mnl: larger receive socket buffer for netlink errors

Assume each error in the batch will result in a 1k notification for the
non-echo flag set on case as described in 860671662d3f ("mnl: fix --echo
buffer size again").

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/mnl.c