linux/net/dccp
Gerrit Renker 1910299636 dccp: Tidy up setsockopt calls
This splits the setsockopt calls into two groups, depending on whether an
integer argument (val) is required and whether routines being called do
their own locking.

Some options (such as setting the CCID) use u8 rather than int, so that for
these the test with regard to integer-sizeof can not be used.

The second switch-case statement now only has those statements which need
locking and which make use of `val'.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Reviewed-by: Eugene Teo <eugeneteo@kernel.sg>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-16 22:56:55 -08:00
..
ccids dccp: Registration routines for changing feature values 2008-11-12 00:43:40 -08:00
Kconfig
Makefile
ackvec.c
ackvec.h
ccid.c dccp: Query supported CCIDs 2008-11-12 00:47:26 -08:00
ccid.h dccp: Query supported CCIDs 2008-11-12 00:47:26 -08:00
dccp.h dccp: Deprecate Ack Ratio sysctl 2008-11-16 22:55:08 -08:00
diag.c
feat.c dccp: Deprecate old setsockopt framework 2008-11-16 22:51:23 -08:00
feat.h dccp: Deprecate old setsockopt framework 2008-11-16 22:51:23 -08:00
input.c
ipv4.c net: Convert TCP & DCCP hash tables to use RCU / hlist_nulls 2008-11-16 19:40:17 -08:00
ipv6.c net: Convert TCP & DCCP hash tables to use RCU / hlist_nulls 2008-11-16 19:40:17 -08:00
ipv6.h
minisocks.c dccp: Deprecate Ack Ratio sysctl 2008-11-16 22:55:08 -08:00
options.c dccp: Deprecate Ack Ratio sysctl 2008-11-16 22:55:08 -08:00
output.c dccp: Mechanism to resolve CCID dependencies 2008-11-16 22:49:52 -08:00
probe.c
proto.c dccp: Tidy up setsockopt calls 2008-11-16 22:56:55 -08:00
sysctl.c dccp: Deprecate Ack Ratio sysctl 2008-11-16 22:55:08 -08:00
timer.c