Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1558a93 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

l2tp: add missing .owner to struct pppox_proto



Add missing .owner of struct pppox_proto. This prevents the
module from being removed from underneath its users.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f3ad8921
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1793,7 +1793,8 @@ static const struct proto_ops pppol2tp_ops = {

static const struct pppox_proto pppol2tp_proto = {
	.create		= pppol2tp_create,
	.ioctl		= pppol2tp_ioctl
	.ioctl		= pppol2tp_ioctl,
	.owner		= THIS_MODULE,
};

#ifdef CONFIG_L2TP_V3