summaryrefslogtreecommitdiff
path: root/lib/earlycpio.c
diff options
context:
space:
mode:
authorAntoine Tenart <atenart@kernel.org>2021-03-18 19:37:44 +0100
committerDavid S. Miller <davem@davemloft.net>2021-03-18 14:56:22 -0700
commit5478fcd0f48322e04ae6c173ad3a1959e066dc83 (patch)
tree3228f7adfc6ee6a37638d546d563a628a3c7ec2f /lib/earlycpio.c
parent255c04a87f4381849fce9ed81e5efabf78a71a30 (diff)
net: embed nr_ids in the xps maps
Embed nr_ids (the number of cpu for the xps cpus map, and the number of rxqs for the xps cpus map) in dev_maps. That will help not accessing out of bound memory if those values change after dev_maps was allocated. Suggested-by: Alexander Duyck <alexander.duyck@gmail.com> Signed-off-by: Antoine Tenart <atenart@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/earlycpio.c')
0 files changed, 0 insertions, 0 deletions