summaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2008-11-16 22:56:55 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-16 22:56:55 -0800
commit191029963630719e867d8bd0c315d32c822622cb (patch)
treefb8284951c59eb8f3547c9cde09c189c07b702c1 /net/unix
parentdd9c0e363cef32b7d6f23d4c87e8dfe4f91fd1c5 (diff)
downloadop-kernel-dev-191029963630719e867d8bd0c315d32c822622cb.zip
op-kernel-dev-191029963630719e867d8bd0c315d32c822622cb.tar.gz
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>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud