Merge branch 'selftests/bpf: Various sockmap-related fixes'
authorMartin KaFai Lau <martin.lau@kernel.org>
Mon, 19 Aug 2024 23:40:11 +0000 (16:40 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Mon, 19 Aug 2024 23:43:40 +0000 (16:43 -0700)
commitdb163778016b3a491d79d10a910d059c20f88f83
treedda0d6606e0189128243ae9cfdef4f7c25a2b584
parent92ec8b9367ab328cdd3d4409464137bc9775a2e5
parent86149b4f5a2d535279096946b6ef8d41911a9b5a
Merge branch 'selftests/bpf: Various sockmap-related fixes'

Michal Luczaj says:

====================
Series takes care of few bugs and missing features with the aim to improve
the test coverage of sockmap/sockhash.

Last patch is a create_pair() rewrite making use of
__attribute__((cleanup)) to handle socket fd lifetime.

---
Changes in v2:
- Rebase on bpf-next (Jakub)
- Use cleanup helpers from kernel's cleanup.h (Jakub)
- Fix subject of patch 3, rephrase patch 4, use correct prefix
- Link to v1: https://lore.kernel.org/r/20240724-sockmap-selftest-fixes-v1-0-46165d224712@rbox.co

Changes in v1:
- No declarations in function body (Jakub)
- Don't touch output arguments until function succeeds (Jakub)
- Link to v0: https://lore.kernel.org/netdev/027fdb41-ee11-4be0-a493-22f28a1abd7c@rbox.co/
====================

Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>