diff options
| author | Guillaume Nault <g.nault@alphalink.fr> | 2020-05-22 00:57:36 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-27 16:40:32 +0200 |
| commit | c30b34ce7944ec7026d4803cd51da2521df992a3 (patch) | |
| tree | c1f725eb96bdb21bd76c3571c371749053567272 /kernel/trace/trace_functions_graph.c | |
| parent | 3ca51032627e9bfea7d609f008461efdfdba1a5c (diff) | |
l2tp: fix l2tp_eth module loading
commit 9f775ead5e570e7e19015b9e4e2f3dd6e71a5935 upstream.
The l2tp_eth module crashes if its netlink callbacks are run when the
pernet data aren't initialised.
We should normally register_pernet_device() before the genl callbacks.
However, the pernet data only maintain a list of l2tpeth interfaces,
and this list is never used. So let's just drop pernet handling
instead.
Fixes: d9e31d17ceba ("l2tp: Add L2TP ethernet pseudowire support")
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Giuliano Procida <gprocida@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions
