Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90893
b: refs/heads/master
c: e56d8b8
h: refs/heads/master
i:
  90891: 03f1ce2
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Apr 18, 2008
1 parent 6ec29b5 commit 9a8e931
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 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: 8b73a07c8ffaa70683022566080f4df3328ea18d
refs/heads/master: e56d8b8a2ee5fb7f63ceba58e1c0fb3c844888a4
7 changes: 0 additions & 7 deletions trunk/include/net/inet_hashtables.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,6 @@ static inline void __inet_inherit_port(struct sock *sk, struct sock *child)
spin_unlock(&head->lock);
}

static inline void inet_inherit_port(struct sock *sk, struct sock *child)
{
local_bh_disable();
__inet_inherit_port(sk, child);
local_bh_enable();
}

extern void inet_put_port(struct sock *sk);

extern void inet_listen_wlock(struct inet_hashinfo *hashinfo);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/dccp/ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ static struct sock *dccp_v6_request_recv_sock(struct sock *sk,
newinet->daddr = newinet->saddr = newinet->rcv_saddr = LOOPBACK4_IPV6;

__inet6_hash(newsk);
inet_inherit_port(sk, newsk);
__inet_inherit_port(sk, newsk);

return newsk;

Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/tcp_ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,7 @@ static struct sock * tcp_v6_syn_recv_sock(struct sock *sk, struct sk_buff *skb,
#endif

__inet6_hash(newsk);
inet_inherit_port(sk, newsk);
__inet_inherit_port(sk, newsk);

return newsk;

Expand Down

0 comments on commit 9a8e931

Please sign in to comment.