commit | 3f518bf745cbd6007d8069100fb9cb09e960c872 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@parallels.com> | Tue Feb 21 07:30:58 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 21 14:58:57 2012 -0500 |
tree | debbe9e9340d46080f1b82e4149a2427545c4aef | |
parent | 4934b0329f7150dcb5f90506860e2db32274c755 [diff] |
datagram: Add offset argument to __skb_recv_datagram This one is only considered for MSG_PEEK flag and the value pointed by it specifies where to start peeking bytes from. If the offset happens to point into the middle of the returned skb, the offset within this skb is put back to this very argument. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>