aboutsummaryrefslogtreecommitdiff
path: root/lib/earlycpio.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2024-07-31 13:07:16 -0700
committerDavid S. Miller <davem@davemloft.net>2024-08-03 22:38:44 +0100
commit1ad001347fb1ca1f036144b42a6f1df6615e4104 (patch)
tree6df5dc3ddc0f02b0cbe0f36ccd7f8922d7e406eb /lib/earlycpio.c
parentc4b28e5699d2a789fc9464e7ce89f2a1e9d5085d (diff)
l2tp: Don't assign net->gen->ptr[] for pppol2tp_net_ops.
Commit fd558d186df2 ("l2tp: Split pppol2tp patch into separate l2tp and ppp parts") converted net->gen->ptr[pppol2tp_net_id] in l2tp_ppp.c to net->gen->ptr[l2tp_net_id] in l2tp_core.c. Now the leftover wastes one entry of net->gen->ptr[] in each netns. Let's avoid the unwanted allocation. Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: James Chapman <jchapman@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/earlycpio.c')
0 files changed, 0 insertions, 0 deletions