diff options
| author | Kuniyuki Iwashima <[email protected]> | 2022-06-27 16:36:27 -0700 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-06-28 20:58:57 -0700 |
| commit | 849d5aa3a1d833d0b3a18c2d5b816e23003cfe55 (patch) | |
| tree | e9aca20d19d98a23e0f569416b0e5eac0d9151cb /include/linux/debugobjects.h | |
| parent | d521bc0a0f7cdd56b646e6283d5f7296eb16793d (diff) | |
af_unix: Do not call kmemdup() for init_net's sysctl table.
While setting up init_net's sysctl table, we need not duplicate the
global table and can use it directly as ipv4_sysctl_init_net() does.
Unlike IPv4, AF_UNIX does not have a huge sysctl table for now, so it
cannot be a problem, but this patch makes code consistent.
Acked-by: Eric W. Biederman <[email protected]>
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions