Netdev List
 help / color / mirror / Atom feed
* [PATCH net v3 0/2] af_unix: Fix inq_len update issue
@ 2026-06-01 11:36 jianyu.li
  2026-06-01 11:36 ` [PATCH net v3 1/2] af_unix: Fix inq_len update problem in partial read jianyu.li
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: jianyu.li @ 2026-06-01 11:36 UTC (permalink / raw)
  To: kuniyu, davem, edumazet, kuba, pabeni, horms
  Cc: willemb, netdev, linux-kernel, linux-mediatek, black-ch.chen,
	ivan.tseng, jianyu.li

From: Jianyu Li <jianyu.li@mediatek.com>

This series fix the problem that inq_len is inconsistent with
actual remaining byte count when only part of a skb is consumed.

Changes:
  v3:
    - Patch 2: Align macro definitions
  v2: https://lore.kernel.org/netdev/20260528110033.3327744-1-jianyu.li@mediatek.com/
    - Patch 1: Improve lock usage in unix_stream_read_generic()
    - Patch 2: Follow reverse xmas tree ordering in partial_read test case
  v1: https://lore.kernel.org/netdev/20260527065342.2463433-1-jianyu.li@mediatek.com/

Jianyu Li (2):
  af_unix: Fix inq_len update problem in partial read
  af_unix: Add test for SCM_INQ on partial read

 net/unix/af_unix.c                            | 11 ++--
 tools/testing/selftests/net/af_unix/scm_inq.c | 54 ++++++++++++++++++-
 2 files changed, 58 insertions(+), 7 deletions(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-06-04  2:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-01 11:36 [PATCH net v3 0/2] af_unix: Fix inq_len update issue jianyu.li
2026-06-01 11:36 ` [PATCH net v3 1/2] af_unix: Fix inq_len update problem in partial read jianyu.li
2026-06-01 18:34   ` Kuniyuki Iwashima
2026-06-01 11:36 ` [PATCH net v3 2/2] af_unix: Add test for SCM_INQ on " jianyu.li
2026-06-01 18:35   ` Kuniyuki Iwashima
2026-06-04  2:00 ` [PATCH net v3 0/2] af_unix: Fix inq_len update issue patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox