diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-03-12 05:04:08 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-12 19:39:40 +0100 |
commit | efd7ef1c1929d7a0329d4349252863c04d6f1729 (patch) | |
tree | 66a1d5ba57a27fda7665da756551c10ac0ebf656 /include/net/sock.h | |
parent | Merge branch 'rhashtable-cleanups' (diff) | |
download | linux-efd7ef1c1929d7a0329d4349252863c04d6f1729.tar.xz linux-efd7ef1c1929d7a0329d4349252863c04d6f1729.zip |
net: Kill hold_net release_net
hold_net and release_net were an idea that turned out to be useless.
The code has been disabled since 2008. Kill the code it is long past due.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r-- | include/net/sock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index d996c633bec2..95b2c1c220f9 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -2204,7 +2204,7 @@ static inline void sk_change_net(struct sock *sk, struct net *net) if (!net_eq(current_net, net)) { put_net(current_net); - sock_net_set(sk, hold_net(net)); + sock_net_set(sk, net); } } |