diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-09-19 02:46:37 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-09-19 02:54:11 +0100 |
commit | 576eda8b08e00cbb0cf29ba777c2cb461c98cbbc (patch) | |
tree | 673c305d7ec548cfa4bd06dd64a83f41c09404fe /net | |
parent | c3cba721f1b761ca96f6fe437dec738db1069909 (diff) |
sfc: Fix maximum array sizes for various MCDI commands
The maximum array sizes have been calculated on the basis of a maximum
SDU size of 255 bytes, whereas the actual maximum is 252 bytes.
Constructing a larger SDU will result in a BUG_ON in efx_mcdi_copyin.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions