summaryrefslogtreecommitdiff
path: root/drivers/net/ipvlan/ipvlan.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-02-28 14:05:54 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2017-02-28 14:05:54 +0300
commit399f157afd30ad942e08dfa0ab28734c50bc6b00 (patch)
treea772e97b85d91ae5553707f597b4443a511c99ec /drivers/net/ipvlan/ipvlan.h
parenta09975bf6c756e4555a95258ff4b2286dcfddc4e (diff)
parent1a08e3d9e0ac4577ba89dbdb38f593fe050f88fc (diff)
downloadlinux-399f157afd30ad942e08dfa0ab28734c50bc6b00.tar.xz
Merge branch 'devel-stable' into misc
Diffstat (limited to 'drivers/net/ipvlan/ipvlan.h')
-rw-r--r--drivers/net/ipvlan/ipvlan.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ipvlan/ipvlan.h b/drivers/net/ipvlan/ipvlan.h
index 031093e1c25f..dbfbb33ac66c 100644
--- a/drivers/net/ipvlan/ipvlan.h
+++ b/drivers/net/ipvlan/ipvlan.h
@@ -99,6 +99,11 @@ struct ipvl_port {
int count;
};
+struct ipvl_skb_cb {
+ bool tx_pkt;
+};
+#define IPVL_SKB_CB(_skb) ((struct ipvl_skb_cb *)&((_skb)->cb[0]))
+
static inline struct ipvl_port *ipvlan_port_get_rcu(const struct net_device *d)
{
return rcu_dereference(d->rx_handler_data);