[PATCH net v3 0/2] af_unix: Fix inq_len update issue

jianyu.li@mediatek.com posted 2 patches 6 days, 17 hours ago
net/unix/af_unix.c                            | 11 ++--
tools/testing/selftests/net/af_unix/scm_inq.c | 54 ++++++++++++++++++-
2 files changed, 58 insertions(+), 7 deletions(-)
[PATCH net v3 0/2] af_unix: Fix inq_len update issue
Posted by jianyu.li@mediatek.com 6 days, 17 hours ago
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