]> www.infradead.org Git - users/jedix/linux-maple.git/commit
l2tp: don't use tunnel socket sk_user_data in ppp procfs output
authorJames Chapman <jchapman@katalix.com>
Mon, 29 Jul 2024 15:38:03 +0000 (16:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2024 08:25:12 +0000 (09:25 +0100)
commiteeb11209e000797d555aefd642e24ed6f4e70140
tree802bed51e77f675dbd606c17bc98149224da9040
parented8ebee6def7b7b760bd4fd90c03b9e86622701c
l2tp: don't use tunnel socket sk_user_data in ppp procfs output

l2tp's ppp procfs output can be used to show internal state of
pppol2tp. It includes a 'user-data-ok' field, which is derived from
the tunnel socket's sk_user_data being non-NULL. Use tunnel->sock
being non-NULL to indicate this instead.

Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_ppp.c