lkml.org 
[lkml]   [2009]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject[PATCHv5 0/2] net: fix race in the receive/select
    This patchset fixies the race within the poll_wait call and the receive callbacks,
    by adding memory barrier.

    - 1/2 includes the actual fix
    - 2/2 includes optimization for the x86 arch

    It is discussed and described in the following discussions:

    http://lkml.org/lkml/2009/6/18/124
    http://lkml.org/lkml/2009/6/25/188
    http://lkml.org/lkml/2009/6/29/216

    Patchset is made on top of Linus'es tree 7c5371c403abb29f01bc6cff6c5096abdf2dc524 .

    Booted on x86_64.

    wbr,
    jirka

    ---
    arch/x86/include/asm/spinlock.h | 3 ++
    include/linux/spinlock.h | 5 +++
    include/net/sock.h | 69 +++++++++++++++++++++++++++++++++++++++
    net/atm/common.c | 6 ++--
    net/core/datagram.c | 2 +-
    net/core/sock.c | 8 ++--
    net/dccp/output.c | 2 +-
    net/dccp/proto.c | 2 +-
    net/ipv4/tcp.c | 2 +-
    net/iucv/af_iucv.c | 4 +-
    net/rxrpc/af_rxrpc.c | 4 +-
    net/unix/af_unix.c | 8 ++--
    12 files changed, 96 insertions(+), 19 deletions(-)


    \
     
     \ /
      Last update: 2009-07-03 10:15    [W:0.022 / U:0.480 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site