Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184164
b: refs/heads/master
c: d1e7a03
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy committed Feb 11, 2010
1 parent 8e86918 commit 35484f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a8c28d05150f758625c5da38199b247887735e65
refs/heads/master: d1e7a03f4fee4059ee3fa7ce0edb7c48c1a75fcf
4 changes: 4 additions & 0 deletions trunk/net/netfilter/nf_conntrack_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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;

Expand Down

0 comments on commit 35484f4

Please sign in to comment.