diff options
| author | Eyal Birger <[email protected]> | 2015-03-01 12:58:28 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-03-02 05:19:29 +0000 |
| commit | 2472d7613bd3bae40a7dc75539c0858d5b9e795a (patch) | |
| tree | 0c08b919ed13050fef72a0e2f1f8552157d833ea /net/tipc/socket.c | |
| parent | net: rxrpc: change call to sock_recv_ts_and_drops() on rxrpc recvmsg to sock_... (diff) | |
| download | kernel-2472d7613bd3bae40a7dc75539c0858d5b9e795a.tar.gz kernel-2472d7613bd3bae40a7dc75539c0858d5b9e795a.zip | |
net: packet: use sockaddr_ll fields as storage for skb original length in recvmsg path
As part of an effort to move skb->dropcount to skb->cb[], 4 bytes
of additional room are needed in skb->cb[] in packet sockets.
Store the skb original length in the first two fields of sockaddr_ll
(sll_family and sll_protocol) as they can be derived from the skb when
needed.
Signed-off-by: Eyal Birger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
