Searched hist:19102996 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/dccp/ |
H A D | proto.c | 19102996 Mon Nov 17 00:56:55 CST 2008 Gerrit Renker <gerrit@erg.abdn.ac.uk> 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> 19102996 Mon Nov 17 00:56:55 CST 2008 Gerrit Renker <gerrit@erg.abdn.ac.uk> 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>
|