mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
l2tp: add missing .owner to struct pppox_proto
[ Upstream commit e1558a93b6
]
Add missing .owner of struct pppox_proto. This prevents the
module from being removed from underneath its users.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3ef208a71f
commit
589acc586e
1 changed files with 2 additions and 1 deletions
|
@ -1778,7 +1778,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
|
||||
|
|
Loading…
Reference in a new issue