summaryrefslogtreecommitdiff
path: root/lib/siphash.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-07-25 19:40:37 -0700
committerDavid S. Miller <davem@davemloft.net>2018-07-25 22:17:44 -0700
commit5ea14712d7a22703645217c5296e72cb5adba0a6 (patch)
tree4179e0924b2d71193267da4cc6d9a2e97dbd12fb /lib/siphash.c
parente76c1d3d2a8313040d8316f760e9476028a27758 (diff)
nfp: protect from theoretical size overflows on HW descriptor ring
Use array_size() and store the size as full size_t to protect from theoretical size overflow when handling HW descriptor rings. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/siphash.c')
0 files changed, 0 insertions, 0 deletions