diff options
author | David S. Miller <davem@davemloft.net> | 2015-07-13 08:24:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-13 08:24:01 +0300 |
commit | cee9f6d0186a586c8023bc91c8a4cf8a088855e5 (patch) | |
tree | 70847d330cb2c34515f5fa0b7128a2af6b188783 /include | |
parent | 76b63da9666fb3fa786ff76a50d29abbe3d706b8 (diff) | |
parent | d3b58c47d330de8c29898fe9746f7530408f8a59 (diff) | |
download | linux-cee9f6d0186a586c8023bc91c8a4cf8a088855e5.tar.xz |
Merge tag 'linux-can-fixes-for-4.2-20150712' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can
Marc Kleine-Budde says:
====================
pull-request: can 2015-07-12
this is a pull request of 8 patchs for net/master.
Sergei Shtylyov contributes 5 patches for the rcar_can driver, fixing the IRQ
check and several info and error messages. There are two patches by J.D.
Schroeder and Roger Quadros for the c_can driver and dra7x-evm device tree,
which precent a glitch in the DCAN1 pinmux. Oliver Hartkopp provides a better
approach to make the CAN skbs unique, the timestamp is replaced by a counter.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/can/skb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/can/skb.h b/include/linux/can/skb.h index b6a52a4b457a..51bb6532785c 100644 --- a/include/linux/can/skb.h +++ b/include/linux/can/skb.h @@ -27,10 +27,12 @@ /** * struct can_skb_priv - private additional data inside CAN sk_buffs * @ifindex: ifindex of the first interface the CAN frame appeared on + * @skbcnt: atomic counter to have an unique id together with skb pointer * @cf: align to the following CAN frame at skb->data */ struct can_skb_priv { int ifindex; + int skbcnt; struct can_frame cf[0]; }; |