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

Commit d4163732 authored by Raghavendra Rao Ananta's avatar Raghavendra Rao Ananta
Browse files

netfilter: Fix build error



The commit <d30948ce> (netfilter: Changes to handle segmentation in
SIP ALG) breaks the build by defining the last argument of the function,
sip_tcp_skip_process (s16 *tdiff) incorrectly. Hence, fix the type by
changing it to a variable.

Change-Id: I5a336bd7aa47a649c24d7c34090f138b2e772bdc
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent f838988d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1877,7 +1877,7 @@ static int process_sip_msg(struct sk_buff *skb, struct nf_conn *ct,
}

static void sip_tcp_skip_process(int ret, struct nf_conn *ct, struct sk_buff *skb,
				 unsigned int protoff, s16 *tdiff)
				 unsigned int protoff, s16 tdiff)
{
	if (ret == NF_ACCEPT && ct && ct->status & IPS_NAT_MASK) {
		const struct nf_nat_sip_hooks *hooks;