Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36855
b: refs/heads/master
c: 6b72977
h: refs/heads/master
i:
  36853: a718275
  36851: eaab83d
  36847: d2f8039
v: v3
  • Loading branch information
Al Viro authored and David S. Miller committed Sep 29, 2006
1 parent 9f8625d commit 35e41f5
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: ed9bad06eec5ee7842851f9abeb406e9a73084e8
refs/heads/master: 6b72977bd6c6fefc6497d4f0275079f539eaf0ac
2 changes: 1 addition & 1 deletion trunk/include/net/inet_connection_sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ extern struct sock *inet_csk_accept(struct sock *sk, int flags, int *err);

extern struct request_sock *inet_csk_search_req(const struct sock *sk,
struct request_sock ***prevp,
const __u16 rport,
const __be16 rport,
const __be32 raddr,
const __be32 laddr);
extern int inet_csk_bind_conflict(const struct sock *sk,
Expand Down
6 changes: 3 additions & 3 deletions trunk/net/ipv4/inet_connection_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,10 @@ struct dst_entry* inet_csk_route_req(struct sock *sk,

EXPORT_SYMBOL_GPL(inet_csk_route_req);

static inline u32 inet_synq_hash(const __be32 raddr, const u16 rport,
static inline u32 inet_synq_hash(const __be32 raddr, const __be16 rport,
const u32 rnd, const u16 synq_hsize)
{
return jhash_2words((__force u32)raddr, (u32)rport, rnd) & (synq_hsize - 1);
return jhash_2words((__force u32)raddr, (__force u32)rport, rnd) & (synq_hsize - 1);
}

#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
Expand All @@ -356,7 +356,7 @@ static inline u32 inet_synq_hash(const __be32 raddr, const u16 rport,

struct request_sock *inet_csk_search_req(const struct sock *sk,
struct request_sock ***prevp,
const __u16 rport, const __be32 raddr,
const __be16 rport, const __be32 raddr,
const __be32 laddr)
{
const struct inet_connection_sock *icsk = inet_csk(sk);
Expand Down

0 comments on commit 35e41f5

Please sign in to comment.