Re: [PATCH 7/9]: Tidy up setsockopt calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux