diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2017-09-28 15:44:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-01 22:35:07 -0700 |
commit | 9f775ead5e570e7e19015b9e4e2f3dd6e71a5935 (patch) | |
tree | d484458244b01e6a057a08e32e17acb11fca0ba9 /net/bpf | |
parent | c79c314bb422482b88fa9881d783d2d5752f6ac6 (diff) | |
download | linux-stable-9f775ead5e570e7e19015b9e4e2f3dd6e71a5935.tar.gz linux-stable-9f775ead5e570e7e19015b9e4e2f3dd6e71a5935.tar.bz2 linux-stable-9f775ead5e570e7e19015b9e4e2f3dd6e71a5935.zip |
l2tp: fix l2tp_eth module loading
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>
Diffstat (limited to 'net/bpf')
0 files changed, 0 insertions, 0 deletions