android_kernel_xiaomi_sm8350/net/dccp
Gerrit Renker 68e074bfce dccp: Remove manual influence on NDP Count feature
Updating the NDP count feature is handled automatically now:
 * for CCID-2 it is disabled, since the code does not use NDP counts;
 * for CCID-3 it is enabled, as NDP counts are used to determine loss lengths.

Allowing the user to change NDP values leads to unpredictable and failing
behaviour, since it is then possible to disable NDP counts even when they
are needed (e.g. in CCID-3).

This means that only those user settings are sensible that agree with the
values for Send NDP Count implied by the choice of CCID. But those settings
are already activated by the feature negotiation (CCID dependency tracking),
hence this form of support is redundant.

At startup the initialisation of the NDP count feature is with the default
value of 0, which is done implicitly by the zeroing-out of the socket when
it is allocated. If the choice of CCID or feature negotiation enables NDP
count, this will then be updated via the NDP activation handler.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
2008-09-04 07:45:31 +02:00
..
ccids dccp: Registration routines for changing feature values 2008-09-04 07:45:27 +02:00
ackvec.c dccp: Set per-connection CCIDs via socket options 2008-09-04 07:45:28 +02:00
ackvec.h dccp: Set per-connection CCIDs via socket options 2008-09-04 07:45:28 +02:00
ccid.c dccp: Remove obsolete parts of the old CCID interface 2008-09-04 07:45:31 +02:00
ccid.h dccp: Remove obsolete parts of the old CCID interface 2008-09-04 07:45:31 +02:00
dccp.h dccp: Remove manual influence on NDP Count feature 2008-09-04 07:45:31 +02:00
diag.c
feat.c dccp: Remove manual influence on NDP Count feature 2008-09-04 07:45:31 +02:00
feat.h dccp: Clean up old feature-negotiation infrastructure 2008-09-04 07:45:30 +02:00
input.c dccp: Integration of dynamic feature activation - part 3 (client side) 2008-09-04 07:45:30 +02:00
ipv4.c dccp: Cleanup routines for feature negotiation 2008-09-04 07:45:26 +02:00
ipv6.c dccp: Cleanup routines for feature negotiation 2008-09-04 07:45:26 +02:00
ipv6.h
Kconfig
Makefile
minisocks.c dccp: Remove manual influence on NDP Count feature 2008-09-04 07:45:31 +02:00
options.c dccp: Remove manual influence on NDP Count feature 2008-09-04 07:45:31 +02:00
output.c dccp: Mechanism to resolve CCID dependencies 2008-09-04 07:45:27 +02:00
probe.c dccp: API to query the current TX/RX CCID 2008-09-04 07:45:28 +02:00
proto.c dccp: Integration of dynamic feature activation - part 1 (socket setup) 2008-09-04 07:45:30 +02:00
sysctl.c dccp: Remove manual influence on NDP Count feature 2008-09-04 07:45:31 +02:00
timer.c dccp: Limit feature negotiation to connection setup phase 2008-09-04 07:45:27 +02:00