can: rework skb reserved data handling
authorOliver Hartkopp <socketcan@hartkopp.net>
Mon, 28 Jan 2013 08:33:33 +0000 (08:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2013 23:17:25 +0000 (18:17 -0500)
commit2bf3440d7b8755f2627232e6a4c37efbbe053685
tree07e31649ec6a5d58649f6b3c9f8cd1a76e76b24f
parentcef401de7be8c4e155c6746bfccf721a4fa5fab9
can: rework skb reserved data handling

Added accessor and skb_reserve helpers for struct can_skb_priv.
Removed pointless skb_headroom() check.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
CC: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/dev.c
drivers/net/can/slcan.c
include/linux/can/skb.h
net/can/bcm.c
net/can/gw.c
net/can/raw.c