aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ipv4/udplite.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-08-23 11:39:27 -0700
committerDavid S. Miller <davem@davemloft.net>2016-08-23 23:25:29 -0700
commit4cac8204661a6d1a842e47911933f1e90b392c84 (patch)
tree5f74a9110f1af36e2897fc09236acb8c8a1225ce /net/ipv4/udplite.c
parentipv6: udp: remove udp_v6_clear_sk() (diff)
downloadwireguard-linux-4cac8204661a6d1a842e47911933f1e90b392c84.tar.xz
wireguard-linux-4cac8204661a6d1a842e47911933f1e90b392c84.zip
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 'net/ipv4/udplite.c')
-rw-r--r--net/ipv4/udplite.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c
index 3b3efbda48e1..67fc9d96e67d 100644
--- a/net/ipv4/udplite.c
+++ b/net/ipv4/udplite.c
@@ -61,7 +61,6 @@ struct proto udplite_prot = {
.compat_setsockopt = compat_udp_setsockopt,
.compat_getsockopt = compat_udp_getsockopt,
#endif
- .clear_sk = sk_prot_clear_portaddr_nulls,
};
EXPORT_SYMBOL(udplite_prot);