summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-02-16 09:18:01 -0800
committerJakub Kicinski <kuba@kernel.org>2022-02-17 20:06:06 -0800
commitf20cfd662a62dc62c25d9feff29eadc600455ca7 (patch)
tree431a43a57d9c61e6b9a2ab66ba62c7a99fd4dcba /lib/mpi/mpi-bit.c
parent60f8ad2392d03d250f6d381e382f7c838cd5ec11 (diff)
net: add sanity check in proto_register()
prot->memory_allocated should only be set if prot->sysctl_mem is also set. This is a followup of commit 25206111512d ("crypto: af_alg - get rid of alg_memory_allocated"). Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20220216171801.3604366-1-eric.dumazet@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions