aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorGerrit Renker <[email protected]>2008-11-17 06:56:55 +0000
committerDavid S. Miller <[email protected]>2008-11-17 06:56:55 +0000
commit191029963630719e867d8bd0c315d32c822622cb (patch)
treefb8284951c59eb8f3547c9cde09c189c07b702c1 /net/unix/af_unix.c
parentdccp: Deprecate Ack Ratio sysctl (diff)
downloadkernel-191029963630719e867d8bd0c315d32c822622cb.tar.gz
kernel-191029963630719e867d8bd0c315d32c822622cb.zip
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 <[email protected]> Acked-by: Ian McDonald <[email protected]> Acked-by: Arnaldo Carvalho de Melo <[email protected]> Reviewed-by: Eugene Teo <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions