Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277088
b: refs/heads/master
c: c121638
h: refs/heads/master
v: v3
  • Loading branch information
Xi Wang authored and Pablo Neira Ayuso committed Dec 31, 2011
1 parent adc2dc1 commit 4105356
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 52793dbe3d60bd73bbebe28b2bfc9f6b4b920d4c
refs/heads/master: c121638277a71c1e1fb44c3e654ea353357bbc2c
4 changes: 2 additions & 2 deletions trunk/net/netfilter/nf_conntrack_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ ctnetlink_dump_status(struct sk_buff *skb, const struct nf_conn *ct)
static inline int
ctnetlink_dump_timeout(struct sk_buff *skb, const struct nf_conn *ct)
{
long timeout = (ct->timeout.expires - jiffies) / HZ;
long timeout = ((long)ct->timeout.expires - (long)jiffies) / HZ;

if (timeout < 0)
timeout = 0;
Expand Down Expand Up @@ -1641,7 +1641,7 @@ ctnetlink_exp_dump_expect(struct sk_buff *skb,
const struct nf_conntrack_expect *exp)
{
struct nf_conn *master = exp->master;
long timeout = (exp->timeout.expires - jiffies) / HZ;
long timeout = ((long)exp->timeout.expires - (long)jiffies) / HZ;
struct nf_conn_help *help;

if (timeout < 0)
Expand Down

0 comments on commit 4105356

Please sign in to comment.