]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'tpacket_snd-bugs' into main
authorDavid S. Miller <davem@davemloft.net>
Sun, 13 Jul 2025 00:28:52 +0000 (01:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Jul 2025 00:28:52 +0000 (01:28 +0100)
commita059ef8e888941d6c2dc3e94f5f7c98db232ea5d
tree614e6b894f847df381aadb9583f8deec453f8d18
parent5e28d5a3f774f118896aec17a3a20a9c5c9dfc64
parent55f0bfc0370539213202f4ce1a07615327ac4713
Merge branch 'tpacket_snd-bugs' into main

Yun Lu says:

====================
fix two issues and optimize code on tpacket_snd()

This series fix two issues and optimize the code on tpacket_snd():
1, fix the SO_SNDTIMEO constraint not effective due to the changes in
commit 581073f626e3;
2, fix a soft lockup issue on a specific edge case, and also optimize
the loop logic to be clearer and more obvious;

---
Changes in v5:
- Still combine fix and optimization together, change to while(1).
  Thanks: Willem de Bruijn.
- Link to v4: https://lore.kernel.org/all/20250710102639.280932-1-luyun_611@163.com/

Changes in v4:
- Fix a typo and add the missing semicolon. Thanks: Simon Horman.
- Split the second patch into two, one to fix, another to optimize.
  Thanks: Willem de Bruijn
- Link to v3: https://lore.kernel.org/all/20250709095653.62469-1-luyun_611@163.com/

Changes in v3:
- Split in two different patches.
- Simplify the code and reuse ph to continue. Thanks: Eric Dumazet.
- Link to v2: https://lore.kernel.org/all/20250708020642.27838-1-luyun_611@163.com/

Changes in v2:
- Add a Fixes tag.
- Link to v1: https://lore.kernel.org/all/20250707081629.10344-1-luyun_611@163.com/
====================

Signed-off-by: David S. Miller <davem@davemloft.net>