inet6: Remove inet6_destroy_sock() in sk->sk_prot->destroy().
After commit d38afeec ("tcp/udp: Call inet6_destroy_sock() in IPv6 sk->sk_destruct()."), we call inet6_destroy_sock() in sk->sk_destruct() by setting inet6_sock_destruct() to it to make sure we do not leak inet6-specific resources. Now we can remove unnecessary inet6_destroy_sock() calls in sk->sk_prot->destroy(). DCCP and SCTP have their own sk->sk_destruct() function, so we change them separately in the following patches. Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: David S. Miller <davem@davemloft.net>
parent
225480f0
-
mentioned in commit 62ec33b4
-
mentioned in commit 9089260f
-
mentioned in commit 3e4bbd1f
-
mentioned in commit e7f46069
-
mentioned in commit ee8cd3ab
-
mentioned in commit ea4c208e
-
mentioned in commit db6d38ac
-
mentioned in commit e1820a93
-
mentioned in commit 04d393c4
-
mentioned in commit b60d534d
-
mentioned in commit a01b7562
-
mentioned in commit a8cf1141
Please register or sign in to comment