diff options
author | Eric Dumazet <edumazet@google.com> | 2016-08-23 11:39:26 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-23 23:23:50 -0700 |
commit | 6a6ad2a4e57bc907a6977eef6cad49348ad2744b (patch) | |
tree | a3e8a7d9cefa9d2a975b422015e7b375d336e8f2 /net/ipv6/udplite.c | |
parent | 5d77dca82839ef016a93ad7acd7058b14d967752 (diff) | |
download | linux-6a6ad2a4e57bc907a6977eef6cad49348ad2744b.tar.gz linux-6a6ad2a4e57bc907a6977eef6cad49348ad2744b.tar.bz2 linux-6a6ad2a4e57bc907a6977eef6cad49348ad2744b.zip |
ipv6: udp: remove udp_v6_clear_sk()
Now RCU lookups of ipv6 udp sockets no longer dereference
pinet6 field, we can get rid of udp_v6_clear_sk() helper.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/udplite.c')
-rw-r--r-- | net/ipv6/udplite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index 9cf097e206e9..118057a5b759 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6/udplite.c @@ -56,7 +56,7 @@ struct proto udplitev6_prot = { .compat_setsockopt = compat_udpv6_setsockopt, .compat_getsockopt = compat_udpv6_getsockopt, #endif - .clear_sk = udp_v6_clear_sk, + .clear_sk = sk_prot_clear_portaddr_nulls, }; static struct inet_protosw udplite6_protosw = { |