projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d9d752
)
[NETFILTER]: nf_conntrack_expect: show NF_CT_EXPECT_PERMANENT flag in /proc
author
Patrick McHardy
<kaber@trash.net>
Wed, 26 Mar 2008 03:08:17 +0000
(20:08 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 26 Mar 2008 03:08:17 +0000
(20:08 -0700)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_expect.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/nf_conntrack_expect.c
b/net/netfilter/nf_conntrack_expect.c
index 740d94d30091e6aba7bebd10e9b5197c84520819..4c05a588116f86632809f147da8aafec7e3948a6 100644
(file)
--- a/
net/netfilter/nf_conntrack_expect.c
+++ b/
net/netfilter/nf_conntrack_expect.c
@@
-475,6
+475,10
@@
static int exp_seq_show(struct seq_file *s, void *v)
__nf_ct_l3proto_find(expect->tuple.src.l3num),
__nf_ct_l4proto_find(expect->tuple.src.l3num,
expect->tuple.dst.protonum));
+
+ if (expect->flags & NF_CT_EXPECT_PERMANENT)
+ seq_printf(s, "PERMANENT ");
+
return seq_putc(s, '\n');
}