Commit f08d246
mptcp: pm: change to fullmesh only for 'subflow'
If an endpoint doesn't have the 'subflow' endpoint -- in fact, has no
type, so not 'subflow', 'signal', nor 'implicit' -- there are then no
subflows created from this local endpoint to at least the initial
destination address. In this case, no need to call mptcp_pm_nl_fullmesh()
which is there to recreate the subflows to reflect the new value of the
fullmesh attribute.
Similarly, there is then no need to iterate over all connections to do
nothing, if only the 'fullmesh' flag has been changed, and the endpoint
doesn't have the 'subflow' one. So stop early when dealing with this
specific case.
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>1 parent 2cbf977 commit f08d246
1 file changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1923 | 1923 | | |
1924 | 1924 | | |
1925 | 1925 | | |
1926 | | - | |
| 1926 | + | |
1927 | 1927 | | |
| 1928 | + | |
| 1929 | + | |
1928 | 1930 | | |
1929 | 1931 | | |
1930 | 1932 | | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
1931 | 1936 | | |
1932 | 1937 | | |
1933 | 1938 | | |
| |||
1937 | 1942 | | |
1938 | 1943 | | |
1939 | 1944 | | |
1940 | | - | |
| 1945 | + | |
| 1946 | + | |
1941 | 1947 | | |
1942 | 1948 | | |
1943 | 1949 | | |
| |||
1959 | 1965 | | |
1960 | 1966 | | |
1961 | 1967 | | |
1962 | | - | |
1963 | 1968 | | |
1964 | 1969 | | |
1965 | 1970 | | |
| |||
1972 | 1977 | | |
1973 | 1978 | | |
1974 | 1979 | | |
1975 | | - | |
1976 | | - | |
1977 | | - | |
1978 | 1980 | | |
1979 | 1981 | | |
1980 | 1982 | | |
| |||
1996 | 1998 | | |
1997 | 1999 | | |
1998 | 2000 | | |
1999 | | - | |
| 2001 | + | |
2000 | 2002 | | |
2001 | 2003 | | |
2002 | 2004 | | |
| |||
0 commit comments