Skip to content

Commit 170b197

Browse files
Jan EngelhardtDavid S. Miller
authored andcommitted
[NETFILTER]: Remove incorrect inline markers
device_cmp: the function's address is taken (call to nf_ct_iterate_cleanup) alloc_null_binding: referenced externally Signed-off-by: Jan Engelhardt <[email protected]> Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a47362a commit 170b197

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

net/ipv4/netfilter/ipt_MASQUERADE.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ masquerade_target(struct sk_buff **pskb,
109109
return nf_nat_setup_info(ct, &newrange, hooknum);
110110
}
111111

112-
static inline int
112+
static int
113113
device_cmp(struct nf_conn *i, void *ifindex)
114114
{
115115
const struct nf_conn_nat *nat = nfct_nat(i);

net/ipv4/netfilter/nf_nat_rule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ static bool ipt_dnat_checkentry(const char *tablename,
172172
return true;
173173
}
174174

175-
inline unsigned int
175+
unsigned int
176176
alloc_null_binding(struct nf_conn *ct, unsigned int hooknum)
177177
{
178178
/* Force range to this IP; let proto decide mapping for

0 commit comments

Comments
 (0)