mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
SIP crash: Unregister Net sysctl as part of unloading the module
Crash observed when insmod and rmmod of nf_conntrack_sip.ko module is triggered. Change-Id: I3b0710509a0625e49d5582894d8d3e1b11c0f445 Signed-off-by: Paras Jain <parassin@codeaurora.org>
This commit is contained in:
parent
1eb2027a42
commit
65f77ffcf5
1 changed files with 1 additions and 0 deletions
|
|
@ -2187,6 +2187,7 @@ static const struct nf_conntrack_expect_policy sip_exp_policy[SIP_EXPECT_MAX + 1
|
|||
static void __exit nf_conntrack_sip_fini(void)
|
||||
{
|
||||
nf_conntrack_helpers_unregister(sip, ports_c * 4);
|
||||
unregister_net_sysctl_table(sip_sysctl_header);
|
||||
}
|
||||
|
||||
static int __init nf_conntrack_sip_init(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue