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

Commit f0723e3b authored by Sami Tolvanen's avatar Sami Tolvanen Committed by Alistair Delva
Browse files

ANDROID: netfilter: nf_nat: remove static from nf_nat_ipv4_fn



Exporting a static function breaks the ABI toolchain when CFI is
enabled. Remove the static identifier to fix the issue.

Bug: 145210207
Change-Id: Ib23d594ae05718dcf119b8ed0b5a8251aee2561c
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent f0f4fa94
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -241,7 +241,7 @@ int nf_nat_icmp_reply_translation(struct sk_buff *skb,
}
EXPORT_SYMBOL_GPL(nf_nat_icmp_reply_translation);

static unsigned int
unsigned int
nf_nat_ipv4_fn(void *priv, struct sk_buff *skb,
	       const struct nf_hook_state *state)
{