net: use common macro for assering skb->cb[] available size in protocol families
authorEyal Birger <eyal.birger@gmail.com>
Sun, 1 Mar 2015 12:58:29 +0000 (14:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2015 05:19:30 +0000 (00:19 -0500)
commitb4772ef879a8f7d8c56118c2ae5a296fcf6f81d2
treeb4498c776c28e5c87cdeebf17577d002bcd21d47
parent2472d7613bd3bae40a7dc75539c0858d5b9e795a
net: use common macro for assering skb->cb[] available size in protocol families

As part of an effort to move skb->dropcount to skb->cb[] use a common
macro in protocol families using skb->cb[] for ancillary data to
validate available room in skb->cb[].

Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/bluetooth/af_bluetooth.c
net/can/bcm.c
net/can/raw.c
net/ipv4/af_inet.c
net/ipv4/tcp.c
net/ipv6/af_inet6.c
net/packet/af_packet.c
net/sctp/protocol.c