summaryrefslogtreecommitdiff
path: root/include/linux/if_team.h
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2012-06-26 10:52:46 +0400
committerDavid S. Miller <davem@davemloft.net>2012-06-27 08:09:39 +0400
commit52a4fd77808662a16cd17ad3b0e1ad75e0162d8b (patch)
treecc0303069053fe0f15f4b0e0e6c652216895eb66 /include/linux/if_team.h
parent122bb046bcfb8f3d2d94d9f7f6b74da187a740f2 (diff)
downloadlinux-52a4fd77808662a16cd17ad3b0e1ad75e0162d8b.tar.xz
team: do not allow to map disabled ports
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_team.h')
-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 c1938869191f..e636a54e7a71 100644
--- a/include/linux/if_team.h
+++ b/include/linux/if_team.h
@@ -64,6 +64,8 @@ struct team_port {
long mode_priv[0];
};
+extern bool team_port_enabled(struct team_port *port);
+
struct team_mode_ops {
int (*init)(struct team *team);
void (*exit)(struct team *team);