commit | 52a4fd77808662a16cd17ad3b0e1ad75e0162d8b | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jpirko@redhat.com> | Tue Jun 26 06:52:46 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 26 21:09:39 2012 -0700 |
tree | cc0303069053fe0f15f4b0e0e6c652216895eb66 | |
parent | 122bb046bcfb8f3d2d94d9f7f6b74da187a740f2 [diff] [blame] |
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>
diff --git a/include/linux/if_team.h b/include/linux/if_team.h index c193886..e636a54 100644 --- a/include/linux/if_team.h +++ b/include/linux/if_team.h
@@ -64,6 +64,8 @@ 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);