| commit | 66ab04aa4c6274d31df6e6ef4de77866ab84d462 | [log] [tgz] | 
|---|---|---|
| author | Lorenzo Colitti <lorenzo@google.com> | Wed Aug 14 15:30:00 2024 +0900 | 
| committer | William McVicker <willmcvicker@google.com> | Tue Mar 25 14:28:01 2025 -0700 | 
| tree | f8854702528612eccb47751dd249d9bcf9a03b51 | |
| parent | 8913cf63bc75dcd8f602d4b58f5a006b3a20ae93 [diff] | 
Support kernels that make SOCK_DESTROY work on FIN_WAIT sockets. A change has been sent to net to support destroying FIN_WAIT sockets: https://lore.kernel.org/netdev/20240814084622.555672-1-kuro@kuroa.me/T/#t If applied, this change will cause sock_diag_test to fail, because it expects that SOCK_DESTROY on FIN_WAIT1 sockets does nothing. Fix the test to handle the newly-proposed behaviour as well as the current behaviour. Bug: 402346034 Test: test-only change (cherry picked from https://android-review.googlesource.com/q/commit:56f489f85bae5dee5dd3a1d1447bb8bdfe39e483) Merged-In: If40089365027b4ef98fdcf695aec9404a4c32fd9 Change-Id: If40089365027b4ef98fdcf695aec9404a4c32fd9