lkml.org 
[lkml]   [2012]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 1/2] Bluetooth: notify userspace of security level change
    From
    Date
    On Sun, 13 May 2012 03:20:07 -0300, Gustavo Padovan said:

    > It enables the userspace a security level change when the socket is
    > already connected and create a way to notify the socket the result of the
    > request. At the moment of the request the socket is made non writable, if
    > the request fails the connections closes, otherwise the socket is made
    > writable again, POLL_OUT is emmited.

    What happens to in-flight data already written but not yet consumed? I'm
    smelling a possible race condition with data sent under the old level but
    read under the new level....
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2012-05-14 19:01    [W:0.027 / U:0.088 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site