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

jianyu.li@mediatek.com posted 2 patches 1 week, 4 days ago
There is a newer version of this series
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 v2 0/2] af_unix: Fix inq_len update issue
Posted by jianyu.li@mediatek.com 1 week, 4 days 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:
  v2:
    - 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