Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276442
b: refs/heads/master
c: 6810909
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Boyd authored and David S. Miller committed Dec 6, 2011
1 parent f8a5382 commit 6c30a76
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 99b53bdd810611cc178e1a86bc112d8f4f56a1e9
refs/heads/master: 681090902eeb459a829f6f93d378a82011af3c89
2 changes: 2 additions & 0 deletions trunk/net/core/secure_seq.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ static int __init net_secret_init(void)
}
late_initcall(net_secret_init);

#ifdef CONFIG_INET
static u32 seq_scale(u32 seq)
{
/*
Expand All @@ -33,6 +34,7 @@ static u32 seq_scale(u32 seq)
*/
return seq + (ktime_to_ns(ktime_get_real()) >> 6);
}
#endif

#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
__u32 secure_tcpv6_sequence_number(const __be32 *saddr, const __be32 *daddr,
Expand Down

0 comments on commit 6c30a76

Please sign in to comment.