Commit 6fc5f5b
committed
Merge branch 'mptcp-cleanups'
Matthieu Baerts says:
====================
mptcp: a couple of cleanups and improvements
Patch 1 removes an unneeded address copy in subflow_syn_recv_sock().
Patch 2 simplifies subflow_syn_recv_sock() to postpone some actions and
to avoid a bunch of conditionals.
Patch 3 stops reporting limits that are not taken into account when the
userspace PM is used.
Patch 4 adds a new test to validate that the 'subflows' field reported
by the kernel is correct. Such info can be retrieved via Netlink (e.g.
with ss) or getsockopt(SOL_MPTCP, MPTCP_INFO).
---
Changes in v2:
- Patch 3/4's commit message has been updated to use the correct SHA
- Rebased on latest net-next
- Link to v1: https://lore.kernel.org/r/20230324-upstream-net-next-20230324-misc-features-v1-0-5a29154592bd@tessares.net
====================
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>File tree
3 files changed
+72
-38
lines changed- net/mptcp
- tools/testing/selftests/net/mptcp
3 files changed
+72
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
885 | 885 | | |
886 | 886 | | |
887 | 887 | | |
888 | | - | |
889 | 888 | | |
890 | 889 | | |
891 | 890 | | |
892 | 891 | | |
893 | 892 | | |
894 | 893 | | |
895 | 894 | | |
896 | | - | |
897 | | - | |
898 | | - | |
899 | | - | |
900 | | - | |
901 | | - | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
902 | 908 | | |
903 | 909 | | |
904 | 910 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | 699 | | |
708 | 700 | | |
709 | 701 | | |
| |||
755 | 747 | | |
756 | 748 | | |
757 | 749 | | |
758 | | - | |
759 | 750 | | |
760 | 751 | | |
761 | 752 | | |
| |||
784 | 775 | | |
785 | 776 | | |
786 | 777 | | |
787 | | - | |
| 778 | + | |
788 | 779 | | |
789 | | - | |
790 | | - | |
791 | 780 | | |
792 | | - | |
793 | | - | |
794 | | - | |
795 | 781 | | |
796 | 782 | | |
797 | 783 | | |
| |||
820 | 806 | | |
821 | 807 | | |
822 | 808 | | |
823 | | - | |
824 | | - | |
825 | | - | |
826 | | - | |
827 | | - | |
| 809 | + | |
828 | 810 | | |
829 | 811 | | |
830 | 812 | | |
831 | 813 | | |
832 | 814 | | |
833 | 815 | | |
834 | | - | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
835 | 821 | | |
836 | 822 | | |
837 | 823 | | |
838 | 824 | | |
839 | | - | |
| 825 | + | |
840 | 826 | | |
841 | 827 | | |
842 | 828 | | |
| |||
846 | 832 | | |
847 | 833 | | |
848 | 834 | | |
849 | | - | |
| 835 | + | |
850 | 836 | | |
851 | 837 | | |
852 | | - | |
853 | | - | |
854 | 838 | | |
855 | 839 | | |
856 | 840 | | |
| |||
900 | 884 | | |
901 | 885 | | |
902 | 886 | | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
907 | | - | |
908 | 887 | | |
909 | 888 | | |
910 | 889 | | |
| |||
922 | 901 | | |
923 | 902 | | |
924 | 903 | | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
925 | 908 | | |
926 | 909 | | |
927 | 910 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1719 | 1719 | | |
1720 | 1720 | | |
1721 | 1721 | | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
1722 | 1762 | | |
1723 | 1763 | | |
1724 | 1764 | | |
| |||
3118 | 3158 | | |
3119 | 3159 | | |
3120 | 3160 | | |
| 3161 | + | |
| 3162 | + | |
| 3163 | + | |
3121 | 3164 | | |
3122 | 3165 | | |
3123 | | - | |
| 3166 | + | |
| 3167 | + | |
3124 | 3168 | | |
3125 | 3169 | | |
3126 | 3170 | | |
3127 | 3171 | | |
| 3172 | + | |
3128 | 3173 | | |
3129 | 3174 | | |
3130 | 3175 | | |
| |||
0 commit comments