From: Jakub Kicinski Date: Thu, 20 Feb 2025 21:17:21 +0000 (-0800) Subject: Merge branch 'flexible-array-for-ip-tunnel-options' X-Git-Tag: v6.15-rc1~160^2~267 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=372ab5a5feebb791663c7398fdf1cc541e2059ff;p=thirdparty%2Flinux.git Merge branch 'flexible-array-for-ip-tunnel-options' Gal Pressman says: ==================== 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. v4: https://lore.kernel.org/20250217202503.265318-1-gal@nvidia.com v3: https://lore.kernel.org/20250212140953.107533-1-gal@nvidia.com v2: https://lore.kernel.org/20250209101853.15828-1-gal@nvidia.com ==================== Link: https://patch.msgid.link/20250219143256.370277-1-gal@nvidia.com Signed-off-by: Jakub Kicinski --- 372ab5a5feebb791663c7398fdf1cc541e2059ff