summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko2012-06-19 07:54:05 +0200
committerDavid S. Miller2012-06-20 00:00:22 +0200
commit5149ee58385bdfef260fb07a89a8ff0913be6b25 (patch)
tree556edbb864cff154dfef95858737fd900f6e9a24 /include
parentteam: for nomode use dummy struct team_mode (diff)
downloadkernel-qcow2-linux-5149ee58385bdfef260fb07a89a8ff0913be6b25.tar.gz
kernel-qcow2-linux-5149ee58385bdfef260fb07a89a8ff0913be6b25.tar.xz
kernel-qcow2-linux-5149ee58385bdfef260fb07a89a8ff0913be6b25.zip
team: add mode priv to port
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/if_team.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h
index d45fcd5a188d..54af95f5d58b 100644
--- a/include/linux/if_team.h
+++ b/include/linux/if_team.h
@@ -61,6 +61,7 @@ struct team_port {
} orig;
struct rcu_head rcu;
+ long mode_priv[0];
};
struct team_mode_ops {
@@ -108,6 +109,7 @@ struct team_mode {
const char *kind;
struct module *owner;
size_t priv_size;
+ size_t port_priv_size;
const struct team_mode_ops *ops;
};