tcp: add skb->sk to more control packets
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
- v3 Latest5 patches 17 repliesApplied 5/5
- v25 patches 1 replySuperseded
- v15 patches 3 repliesSuperseded
Patches in v3 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | net: add TIME_WAIT logic to sk_to_full_sk()include/ include/ net/ | +8 | 7 replies | Applied |
| 2/5 | net_sched: sch_fq: prepare for TIME_WAIT socketsinclude/ net/ | +12 | 2 replies | Applied |
| 3/5 | net: add skb_set_owner_edemux() helperinclude/ net/ net/ | +13 | 4 replies | Applied |
| 4/5 | ipv6: tcp: give socket pointer to control skbsnet/ | +3 | 2 replies | Applied |
| 5/5 | ipv4: tcp: give socket pointer to control skbsinclude/ net/ net/ | +8 | 2 replies | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Kuniyuki Iwashima | Martin KaFai Lau | Brian Vazquez |
|---|---|---|---|
| 1/5 | R-b | R-b | R-b |
| 2/5 | R-b | R-b | |
| 3/5 | R-b | R-b | |
| 4/5 | R-b | R-b | |
| 5/5 | 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 v3 net-next 0/5] 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.
v3: also changed sk_const_to_full_sk() to address CI splat in XFRM
v2: audited all sk_to_full_sk() users and addressed Martin feedback.
Eric Dumazet (5):
net: add TIME_WAIT logic to sk_to_full_sk()
net_sched: sch_fq: prepare for TIME_WAIT sockets
net: add skb_set_owner_edemux() helper
ipv6: tcp: give socket pointer to control skbs
ipv4: tcp: give socket pointer to control skbs
include/linux/bpf-cgroup.h | 2 +- include/net/inet_sock.h | 8 ++++++-- include/net/ip.h | 3 ++- include/net/sock.h | 19 +++++++++++++++++++ net/core/filter.c | 6 +----- net/core/sock.c | 9 +++------ net/ipv4/ip_output.c | 5 ++++- net/ipv4/tcp_ipv4.c | 4 ++-- net/ipv4/tcp_output.c | 2 +- net/ipv6/tcp_ipv6.c | 3 +++ net/sched/sch_fq.c | 3 ++- 11 files changed, 44 insertions(+), 20 deletions(-)
Signature · 1 line
2.47.0.rc1.288.g06298d1525-goog