summaryrefslogtreecommitdiffstats
path: root/crypto/rsa_helper.c
diff options
context:
space:
mode:
authorMichael Chan2018-04-26 23:44:33 +0200
committerDavid S. Miller2018-04-27 20:47:28 +0200
commit59895f596b13b4b09f739bf8470a5028a5ff2b9a (patch)
tree8ebea69633dfb26bd9c34adacae41a819ec43036 /crypto/rsa_helper.c
parentbnxt_en: Remap TC to hardware queues when configuring PFC. (diff)
downloadkernel-qcow2-linux-59895f596b13b4b09f739bf8470a5028a5ff2b9a.tar.gz
kernel-qcow2-linux-59895f596b13b4b09f739bf8470a5028a5ff2b9a.tar.xz
kernel-qcow2-linux-59895f596b13b4b09f739bf8470a5028a5ff2b9a.zip
bnxt_en: Check the lengths of encapsulated firmware responses.
Firmware messages that are forwarded from PF to VFs are encapsulated. The size of these encapsulated messages must not exceed the maximum defined message size. Add appropriate checks to avoid oversize messages. Firmware messages may be expanded in future specs and this will provide some guardrails to avoid data corruption. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/rsa_helper.c')
0 files changed, 0 insertions, 0 deletions