diff options
author | Eric Dumazet <edumazet@google.com> | 2016-08-23 14:39:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-24 02:25:29 -0400 |
commit | 4cac8204661a6d1a842e47911933f1e90b392c84 (patch) | |
tree | 5f74a9110f1af36e2897fc09236acb8c8a1225ce /include/net/sock.h | |
parent | 6a6ad2a4e57bc907a6977eef6cad49348ad2744b (diff) |
udp: get rid of sk_prot_clear_portaddr_nulls()
Since we no longer use SLAB_DESTROY_BY_RCU for UDP,
we do not need sk_prot_clear_portaddr_nulls() helper.
Signed-off-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, 0 insertions, 2 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 2aab9b63bf16..1bc57609f8e1 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -1242,8 +1242,6 @@ static inline int __sk_prot_rehash(struct sock *sk) | |||
1242 | return sk->sk_prot->hash(sk); | 1242 | return sk->sk_prot->hash(sk); |
1243 | } | 1243 | } |
1244 | 1244 | ||
1245 | void sk_prot_clear_portaddr_nulls(struct sock *sk, int size); | ||
1246 | |||
1247 | /* About 10 seconds */ | 1245 | /* About 10 seconds */ |
1248 | #define SOCK_DESTROY_TIME (10*HZ) | 1246 | #define SOCK_DESTROY_TIME (10*HZ) |
1249 | 1247 | ||