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

