pktgen: Remove VLA usage
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 9 Mar 2018 05:43:40 +0000 (23:43 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Mar 2018 16:57:17 +0000 (11:57 -0500)
commit35951393bbffa1ce351438bee264b48347c8cbb7
tree450111bdbbfcfd0a3ce273ac63731d040de0deb7
parentff3c1b1a817d72e092fded369596dbd84e719ab8
pktgen: Remove VLA usage

In preparation to enabling -Wvla, remove VLA usage and replace it
with a fixed-length array instead.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c