Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seco-imx
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
12
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
bsp
nxp
linux-seco-imx
Commits
d1e7a03f
Commit
d1e7a03f
authored
15 years ago
by
Patrick McHardy
Browse files
Options
Downloads
Patches
Plain Diff
netfilter: ctnetlink: dump expectation helper name
Signed-off-by:
Patrick McHardy
<
kaber@trash.net
>
parent
a8c28d05
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
net/netfilter/nf_conntrack_netlink.c
+4
-0
4 additions, 0 deletions
net/netfilter/nf_conntrack_netlink.c
with
4 additions
and
0 deletions
net/netfilter/nf_conntrack_netlink.c
+
4
−
0
View file @
d1e7a03f
...
...
@@ -1512,6 +1512,7 @@ ctnetlink_exp_dump_expect(struct sk_buff *skb,
const
struct
nf_conntrack_expect
*
exp
)
{
struct
nf_conn
*
master
=
exp
->
master
;
struct
nf_conntrack_helper
*
helper
;
long
timeout
=
(
exp
->
timeout
.
expires
-
jiffies
)
/
HZ
;
if
(
timeout
<
0
)
...
...
@@ -1528,6 +1529,9 @@ ctnetlink_exp_dump_expect(struct sk_buff *skb,
NLA_PUT_BE32
(
skb
,
CTA_EXPECT_TIMEOUT
,
htonl
(
timeout
));
NLA_PUT_BE32
(
skb
,
CTA_EXPECT_ID
,
htonl
((
unsigned
long
)
exp
));
helper
=
rcu_dereference
(
nfct_help
(
master
)
->
helper
);
if
(
helper
)
NLA_PUT_STRING
(
skb
,
CTA_EXPECT_HELP_NAME
,
helper
->
name
);
return
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment