Thread (4 messages) flat view 4 messages, 3 authors, 2017-10-02

Re: [PATCH net] l2tp: fix l2tp_eth module loading

From: David Miller <davem@davemloft.net>
Date: 2017-10-02 05:35:42

From: Guillaume Nault <redacted>
Date: Thu, 28 Sep 2017 15:44:38 +0200
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 <redacted>
Applied and queued up for -stable, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help