Flexible array for ip tunnel options
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 2 repliesApplied 2/2
- v32 patches 1 replySuperseded
Patches in v4 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ip_tunnel: Use ip_tunnel_info() helper instead of 'info + 1'include/ net/ | +5 | 1 reply | Applied |
| 2/2 | net: Add options as a flexible array to struct ip_tunnel_infoinclude/ include/ net/ | +9 | 1 reply | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Cosmin Ratiu | Tariq Toukan | Kees Cook |
|---|---|---|---|
| 1/2 | R-b | ||
| 2/2 | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net-next v4 0/2] Flexible array for ip tunnel options
Remove the hidden assumption that options are allocated at the end of the struct, and teach the compiler about them using a flexible array.
First patch is converting hard-coded 'info + 1' to use ip_tunnel_info() helper.
Second patch adds the 'options' flexible array and changes the helper to use it.
Changelog -
v3=>v4: https://lore.kernel.org/netdev/[email protected]/
* Remove the casts in first patch (Jakub).
v2->v3: https://lore.kernel.org/netdev/[email protected]/
* Add a precursory patch to convert hard-coded user of options.
* Keep ip_tunnel_info() macro (Alexander).
* Use __aligned_largest (Alexander).
v1->v2: https://lore.kernel.org/netdev/[email protected]/
* Remove change in struct layout, align 'options' field explicitly (Ilya, Kees, Jakub).
* Change allocation I missed in v1 in metadata_dst_alloc_percpu().
Thanks,
Gal
Gal Pressman (2):
ip_tunnel: Use ip_tunnel_info() helper instead of 'info + 1'
net: Add options as a flexible array to struct ip_tunnel_info
include/net/dst_metadata.h | 7 ++----- include/net/ip_tunnels.h | 7 ++++--- net/core/dst.c | 6 ++++-- net/sched/act_tunnel_key.c | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-)
Signature · 1 line
2.40.1