aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMuchun Song <[email protected]>2022-06-07 15:02:14 +0800
committerJakub Kicinski <[email protected]>2022-06-08 21:11:05 -0700
commite67b72b90b7e19a4be4d9c29f3feea6f58ab43f8 (patch)
treea232794a09252948f6444b0917c61d90fee5cacc /net/switchdev/switchdev.c
parent487994ff75880569d32504d7e70da8b3328e0693 (diff)
tcp: use alloc_large_system_hash() to allocate table_perturb
In our server, there may be no high order (>= 6) memory since we reserve lots of HugeTLB pages when booting. Then the system panic. So use alloc_large_system_hash() to allocate table_perturb. Fixes: e9261476184b ("tcp: dynamically allocate the perturb table used by source ports") Signed-off-by: Muchun Song <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions