projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f8b61b
)
netfilter: constify arg to is_dying/confirmed
author
Florian Westphal
<
[email protected]
>
Fri, 8 Jul 2016 11:08:50 +0000
(13:08 +0200)
committer
Pablo Neira Ayuso
<
[email protected]
>
Mon, 11 Jul 2016 10:16:03 +0000
(12:16 +0200)
Signed-off-by: Florian Westphal <
[email protected]
>
Signed-off-by: Pablo Neira Ayuso <
[email protected]
>
include/net/netfilter/nf_conntrack.h
patch
|
blob
|
history
diff --git
a/include/net/netfilter/nf_conntrack.h
b/include/net/netfilter/nf_conntrack.h
index a08825b7e955cc6da5d5aa0d8e32e5190c53f68c..1e04911b78ea24a06e5ab3b5362c50b33e50a69c 100644
(file)
--- a/
include/net/netfilter/nf_conntrack.h
+++ b/
include/net/netfilter/nf_conntrack.h
@@
-270,12
+270,12
@@
static inline int nf_ct_is_template(const struct nf_conn *ct)
}
/* It's confirmed if it is, or has been in the hash table. */
-static inline int nf_ct_is_confirmed(struct nf_conn *ct)
+static inline int nf_ct_is_confirmed(
const
struct nf_conn *ct)
{
return test_bit(IPS_CONFIRMED_BIT, &ct->status);
}
-static inline int nf_ct_is_dying(struct nf_conn *ct)
+static inline int nf_ct_is_dying(
const
struct nf_conn *ct)
{
return test_bit(IPS_DYING_BIT, &ct->status);
}