summaryrefslogtreecommitdiff
path: root/include/rdma/uverbs_ioctl.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-05-06 15:53:50 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2021-05-07 11:01:39 +0300
commit6c8774a94e6ad26f29ef103c8671f55c255c6201 (patch)
tree1a14a9f80a7ed0347b7f1a7f3c51b12d5404f4e1 /include/rdma/uverbs_ioctl.h
parenta54754ec9891830ba548e2010c889e3c8146e449 (diff)
downloadlinux-6c8774a94e6ad26f29ef103c8671f55c255c6201.tar.xz
netfilter: nftables: avoid potential overflows on 32bit arches
User space could ask for very large hash tables, we need to make sure our size computations wont overflow. nf_tables_newset() needs to double check the u64 size will fit into size_t field. Fixes: 0ed6389c483d ("netfilter: nf_tables: rename set implementations") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/rdma/uverbs_ioctl.h')
0 files changed, 0 insertions, 0 deletions