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

Commit d8107d71 authored by Ravinder Konka's avatar Ravinder Konka
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 avatarRavinder Konka <rkonka@codeaurora.org>
parent d171201f
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
/* SIP extension for IP connection tracking.
 *
 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
 * Copyright (c) 2016, 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
@@ -362,8 +362,13 @@ static int nf_sip_enqueue_packet(struct nf_queue_entry *entry,
	return 0;
}

static void nf_hook_drop_sip(struct net *net, struct nf_hook_ops *hook)
{
}

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

static