projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SELinux: fix sleeping allocation in security_context_to_sid
[firefly-linux-kernel-4.4.55.git]
/
net
/
netfilter
/
xt_CONNSECMARK.c
diff --git
a/net/netfilter/xt_CONNSECMARK.c
b/net/netfilter/xt_CONNSECMARK.c
index 1faa9136195dbd7a8fde07dad72a55b6c758788b..211189eb2b679a2f4b815fbb15a3999a883128f9 100644
(file)
--- a/
net/netfilter/xt_CONNSECMARK.c
+++ b/
net/netfilter/xt_CONNSECMARK.c
@@
-55,7
+55,7
@@
static void secmark_save(const struct sk_buff *skb)
static void secmark_restore(struct sk_buff *skb)
{
if (!skb->secmark) {
- struct nf_conn *ct;
+
const
struct nf_conn *ct;
enum ip_conntrack_info ctinfo;
ct = nf_ct_get(skb, &ctinfo);