Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41584
b: refs/heads/master
c: fede70b
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and David S. Miller committed Dec 3, 2006
1 parent d3232d7 commit f3b1301
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: 90bcaf7b4a33bb9b100cc06869f0c033a870d4a0
refs/heads/master: fede70b9862635ab1bed84ab3d765e9069616b02
2 changes: 1 addition & 1 deletion trunk/include/net/inet6_connection_sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extern int inet6_csk_bind_conflict(const struct sock *sk,

extern struct request_sock *inet6_csk_search_req(const struct sock *sk,
struct request_sock ***prevp,
const __u16 rport,
const __be16 rport,
const struct in6_addr *raddr,
const struct in6_addr *laddr,
const int iif);
Expand Down
6 changes: 3 additions & 3 deletions trunk/net/ipv6/inet6_connection_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ EXPORT_SYMBOL_GPL(inet6_csk_bind_conflict);
/*
* request_sock (formerly open request) hash tables.
*/
static u32 inet6_synq_hash(const struct in6_addr *raddr, const u16 rport,
static u32 inet6_synq_hash(const struct in6_addr *raddr, const __be16 rport,
const u32 rnd, const u16 synq_hsize)
{
u32 a = raddr->s6_addr32[0];
Expand All @@ -65,15 +65,15 @@ static u32 inet6_synq_hash(const struct in6_addr *raddr, const u16 rport,
__jhash_mix(a, b, c);

a += raddr->s6_addr32[3];
b += (u32)rport;
b += (__force u32)rport;
__jhash_mix(a, b, c);

return c & (synq_hsize - 1);
}

struct request_sock *inet6_csk_search_req(const struct sock *sk,
struct request_sock ***prevp,
const __u16 rport,
const __be16 rport,
const struct in6_addr *raddr,
const struct in6_addr *laddr,
const int iif)
Expand Down

0 comments on commit f3b1301

Please sign in to comment.