diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-03-07 19:03:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-07 21:55:50 +0100 |
commit | c33b3b9fcfa4fe5350b5d13bdb87dab061351d77 (patch) | |
tree | bc54fbdc072b45ef9c1af9eeb9a42ee0ed04aac1 /net/rds/message.c | |
parent | sock: Fix SO_ZEROCOPY switch case (diff) | |
download | linux-c33b3b9fcfa4fe5350b5d13bdb87dab061351d77.tar.xz linux-c33b3b9fcfa4fe5350b5d13bdb87dab061351d77.zip |
cxgb3: remove VLA usage
Remove VLA usage and change the 'len' argument to a u8 and use a 256
byte buffer on the stack. Notice that these lengths are limited by the
encoding field in the VPD structure, which is a u8 [1].
[1] https://marc.info/?l=linux-netdev&m=152044354814024&w=2
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/message.c')
0 files changed, 0 insertions, 0 deletions