summaryrefslogtreecommitdiffstats
path: root/src/fib.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-08-13 20:44:08 +0200
committerFlorian Westphal <fw@strlen.de>2019-08-13 21:37:49 +0200
commit463811e9681188813264f572aca230273ccd1375 (patch)
treed3e09e9ae86e616d87474eae4c8be16164a46cea /src/fib.c
parentc9bd0aa99876ca6a6d24f6c135d732c3ad69fdc0 (diff)
src: mnl: fix setting rcvbuffer size
Kernel expects socklen_t (int). Using size_t causes kernel to read upper 0-bits. This caused tests/shell/testcases/transactions/0049huge_0 to fail on s390x -- it uses 'echo' mode and will quickly overrun the tiny buffer size set due to this bug. Fixes: 89c82c261bb5 ("mnl: estimate receiver buffer size") Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/fib.c')
0 files changed, 0 insertions, 0 deletions