]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'tcp-add-skb-sk-to-more-control-packets'
authorJakub Kicinski <kuba@kernel.org>
Tue, 15 Oct 2024 00:39:38 +0000 (17:39 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 15 Oct 2024 00:39:38 +0000 (17:39 -0700)
commit42386ae4dedcf065a5097d6cad3d77caa84f910a
treeb6d28ee2b7994c49ec797f143840e22eabdbd45a
parent76d37e4fd638a582cf13bec243ebab0af3658d07
parent79636038d37e7bd4d078238f2a3f002cab4423bc
Merge branch 'tcp-add-skb-sk-to-more-control-packets'

Eric Dumazet says:

====================
tcp: add skb->sk to more control packets

Currently, TCP can set skb->sk for a variety of transmit packets.

However, packets sent on behalf of a TIME_WAIT sockets do not
have an attached socket.

Same issue for RST packets.

We want to change this, in order to increase eBPF program
capabilities.

This is slightly risky, because various layers could
be confused by TIME_WAIT sockets showing up in skb->sk.

v2: audited all sk_to_full_sk() users and addressed Martin feedback.
====================

Link: https://patch.msgid.link/20241010174817.1543642-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>