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

Commit 65f77ffc authored by Paras Jain's avatar Paras Jain Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarParas Jain <parassin@codeaurora.org>
parent 1eb2027a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)