summaryrefslogtreecommitdiff
path: root/net/can/raw.c
diff options
context:
space:
mode:
authorEyal Birger <eyal.birger@gmail.com>2015-03-01 15:58:28 +0300
committerDavid S. Miller <davem@davemloft.net>2015-03-02 08:19:29 +0300
commit2472d7613bd3bae40a7dc75539c0858d5b9e795a (patch)
tree0c08b919ed13050fef72a0e2f1f8552157d833ea /net/can/raw.c
parent2cfdf9fcb85bf6c0bb4556384ba800b9f443f601 (diff)
downloadlinux-2472d7613bd3bae40a7dc75539c0858d5b9e795a.tar.xz
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 <eyal.birger@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/can/raw.c')
0 files changed, 0 insertions, 0 deletions