Re: [PATCH net v2] tcp: initialize standalone TCP-AO response padding

From: patchwork-bot+netdevbpf

Date: Tue Jul 21 2026 - 22:09:19 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 13 Jul 2026 18:56:30 +0800 you wrote:
> tcp_v4_send_ack() and tcp_v6_send_response() construct standalone TCP
> responses with TCP-AO options. The option length carries the actual MAC
> length, but the TCP header length includes the option rounded up to a
> four-byte boundary.
>
> tcp_ao_hash_hdr() writes the MAC only. Thus, when the MAC length is not
> four-byte aligned, the one to three bytes after the MAC are left
> uninitialized and may be transmitted. For the normal TCP-AO hashing
> mode, those bytes also have to be initialized before computing the MAC.
>
> [...]

Here is the summary with links:
- [net,v2] tcp: initialize standalone TCP-AO response padding
https://git.kernel.org/netdev/net/c/e1a9d3cc1182

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html