Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90787
b: refs/heads/master
c: 65a18ec
h: refs/heads/master
i:
  90785: b7a258e
  90783: c4d5f59
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Apr 16, 2008
1 parent a5c6484 commit fe62572
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 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: 5d1e4468a7705db7c1415a65fd16f07113afc1b2
refs/heads/master: 65a18ec58e5e6186103f62f720acea94dfb26f4e
2 changes: 1 addition & 1 deletion trunk/include/net/sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ void sock_net_set(struct sock *sk, struct net *net)
static inline void sk_change_net(struct sock *sk, struct net *net)
{
put_net(sock_net(sk));
sock_net_set(sk, net);
sock_net_set(sk, hold_net(net));
}

extern void sock_enable_timestamp(struct sock *sk);
Expand Down
1 change: 1 addition & 0 deletions trunk/net/core/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,7 @@ void sk_release_kernel(struct sock *sk)

sock_hold(sk);
sock_release(sk->sk_socket);
release_net(sock_net(sk));
sock_net_set(sk, get_net(&init_net));
sock_put(sk);
}
Expand Down

0 comments on commit fe62572

Please sign in to comment.