Commit a059ef8
committed
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 581073f;
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/[email protected]/
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/[email protected]/
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/[email protected]/
Changes in v2:
- Add a Fixes tag.
- Link to v1: https://lore.kernel.org/all/[email protected]/
====================
Signed-off-by: David S. Miller <[email protected]>1 file changed
+13
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2785 | 2785 | | |
2786 | 2786 | | |
2787 | 2787 | | |
2788 | | - | |
| 2788 | + | |
2789 | 2789 | | |
2790 | 2790 | | |
2791 | 2791 | | |
| |||
2839 | 2839 | | |
2840 | 2840 | | |
2841 | 2841 | | |
| 2842 | + | |
2842 | 2843 | | |
2843 | 2844 | | |
2844 | 2845 | | |
2845 | 2846 | | |
2846 | 2847 | | |
2847 | 2848 | | |
2848 | | - | |
2849 | | - | |
| 2849 | + | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
2850 | 2855 | | |
2851 | 2856 | | |
2852 | 2857 | | |
2853 | 2858 | | |
2854 | 2859 | | |
2855 | | - | |
2856 | | - | |
2857 | | - | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
2858 | 2864 | | |
2859 | 2865 | | |
2860 | 2866 | | |
| |||
2943 | 2949 | | |
2944 | 2950 | | |
2945 | 2951 | | |
2946 | | - | |
2947 | | - | |
2948 | | - | |
2949 | | - | |
2950 | | - | |
2951 | | - | |
2952 | | - | |
2953 | | - | |
| 2952 | + | |
2954 | 2953 | | |
2955 | 2954 | | |
2956 | 2955 | | |
| |||
0 commit comments