On 9/29/07, Gerrit Renker <gerrit@xxxxxxxxxxxxxx> wrote: > [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@xxxxxxxxxxxxxx> Nice to see reduced locking in some cases. Acked-by: Ian McDonald <ian.mcdonald@xxxxxxxxxxx> - To unsubscribe from this list: send the line "unsubscribe dccp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html