| commit | 1977f065a70037ff6b48c47f44ac8f2066d087c8 | [log] [tgz] |
|---|---|---|
| author | Eric Dumazet <edumazet@google.com> | Fri Mar 29 15:32:03 2024 +0000 |
| committer | Oleksandr Tymoshenko <ovt@google.com> | Wed Oct 23 16:26:50 2024 +0000 |
| tree | ccdc708cae966e7691ef587501be85c49a77756d | |
| parent | 052e7a7a69f11bdd1f06f507ab3d491b58029c21 [diff] |
tcp/dccp: do not care about families in inet_twsk_purge() [ Upstream commit 1eeb5043573981f3a1278876515851b7f6b1df1b ] We lost ability to unload ipv6 module a long time ago. Instead of calling expensive inet_twsk_purge() twice, we can handle all families in one round. Also remove an extra line added in my prior patch, per Kuniyuki Iwashima feedback. BUG=b/372637997 TEST=presubmit RELEASE_NOTE=None cos-patch: security-moderate Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/netdev/20240327192934.6843-1-kuniyu@amazon.com/ Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://lore.kernel.org/r/20240329153203.345203-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Stable-dep-of: 565d121b6998 ("tcp: prevent concurrent execution of tcp_sk_exit_batch") Signed-off-by: Sasha Levin <sashal@kernel.org> Change-Id: I15fd9dde49720d5c944f3e4ed1d450c1a038a6af Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/84140 Reviewed-by: Kevin Berry <kpberry@google.com> Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>