summaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-06-15 07:27:57 +0400
committerDavid S. Miller <davem@davemloft.net>2010-06-15 22:47:12 +0400
commita35e2c1b6d90544b3c688783869817628e5f9607 (patch)
tree64fa6bc6b772248acfb92b5743c5f0d475126891 /include/linux/netdevice.h
parent93e2c32b5cb2ad92ceb1d7a4684f20a0d25bf530 (diff)
downloadlinux-a35e2c1b6d90544b3c688783869817628e5f9607.tar.xz
macvlan: use rx_handler_data pointer to store macvlan_port pointer V2
Register macvlan_port pointer as rx_handler data pointer. As macvlan_port is removed from struct net_device, another netdev priv_flag is added to indicate the device serves as a macvlan port. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 361ff1145cf1..5f231de2032f 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1049,8 +1049,6 @@ struct net_device {
/* bridge stuff */
struct net_bridge_port *br_port;
- /* macvlan */
- struct macvlan_port *macvlan_port;
/* GARP */
struct garp_port *garp_port;