Skip to content

sk->sk_forward_alloc fixes.

Kuniyuki Iwashima netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesApplied 2/2
  2. v22 patches 2 repliesSuperseded

Changes in v3 from the cover letter

* Factorise a common pattern in Patch 1 as suggested by Eric

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2dccp/tcp: Avoid negative sk_forward_alloc by ipv6_pinfo.pktoptions.include/net/sock.h net/dccp/ipv6.c net/ipv6/tcp_ipv6.c+18 -123 repliesApplied
2/2net: Remove WARN_ON_ONCE(sk->sk_forward_alloc) from sk_stream_kill_queues().net/caif/caif_socket.c net/core/stream.c+1 -11 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchEric Dumazet
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 net 0/2] sk->sk_forward_alloc fixes.

The first patch fixes a negative sk_forward_alloc by adding sk_rmem_schedule() before skb_set_owner_r(), and second patch removes an unnecessary WARN_ON_ONCE().

Changes:
v3:
* Factorise a common pattern in Patch 1 as suggested by Eric

v2: https://lore.kernel.org/netdev/[email protected]/
* Add the first patch

v1: https://lore.kernel.org/netdev/[email protected]/

Kuniyuki Iwashima (2):
dccp/tcp: Avoid negative sk_forward_alloc by ipv6_pinfo.pktoptions.
net: Remove WARN_ON_ONCE(sk->sk_forward_alloc) from
sk_stream_kill_queues().

 include/net/sock.h     | 13 +++++++++++++
 net/caif/caif_socket.c |  1 +
 net/core/stream.c      |  1 -
 net/dccp/ipv6.c        |  7 ++-----
 net/ipv6/tcp_ipv6.c    | 10 +++-------
 5 files changed, 19 insertions(+), 13 deletions(-)
Signature · 1 line
2.30.2