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

Commit afbb8cbc authored by Aman Gupta's avatar Aman Gupta
Browse files

msm: net: Support for Removing SFE module



This change allow handling of unregister netfilter hook
while removing SFE module

Change-Id: Ic5ba52e82179e7496d27623edf92c6e64c35d19d
Signed-off-by: default avatarAman Gupta <amangupt@codeaurora.org>
parent 07ffd7cf
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
/* SIP extension for IP connection tracking.
 *
 * Copyright (c) 2015,2017,2018 The Linux Foundation. All rights reserved.
 * Copyright (c) 2015,2017-2019 The Linux Foundation. All rights reserved.
 * (C) 2005 by Christian Hentschel <chentschel@arnet.com.ar>
 * based on RR's ip_conntrack_ftp.c and other modules.
 * (C) 2007 United Security Providers
@@ -392,8 +392,14 @@ static int nf_sip_enqueue_packet(struct nf_queue_entry *entry,
	return 0;
}

static unsigned int nf_hook_drop_sip(struct net *net)
{
	return 0;
}

static const struct nf_queue_handler nf_sip_qh = {
	.outfn	= &nf_sip_enqueue_packet,
	.nf_hook_drop	= &nf_hook_drop_sip,
};

static