summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/can/skb.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/can/skb.h')
-rw-r--r--kernel/include/linux/can/skb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/include/linux/can/skb.h b/kernel/include/linux/can/skb.h
index b6a52a4b4..51bb65327 100644
--- a/kernel/include/linux/can/skb.h
+++ b/kernel/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];
};