aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorPavel Emelyanov <[email protected]>2012-02-21 07:31:51 +0000
committerDavid S. Miller <[email protected]>2012-02-21 15:03:58 -0500
commitf55bb7f9cb82dec2f2e803d7bd0fc5929248e4d8 (patch)
tree25b5f83aa834490eb6a07e52db93b972e16e498f /net/lapb/lapb_timer.c
parentef64a54f6e558155b4f149bb10666b9e914b6c54 (diff)
unix: Support peeking offset for datagram and seqpacket sockets
The sk_peek_off manipulations are protected with the unix_sk->readlock mutex. This mutex is enough since all we need is to syncronize setting the offset vs reading the queue head. The latter is fully covered with the mentioned lock. The recently added __skb_recv_datagram's offset is used to pick the skb to read the data from. Signed-off-by: Pavel Emelyanov <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions