diff options
author | Jiri Pirko <jpirko@redhat.com> | 2012-06-26 06:52:46 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-26 21:09:39 -0700 |
commit | 52a4fd77808662a16cd17ad3b0e1ad75e0162d8b (patch) | |
tree | cc0303069053fe0f15f4b0e0e6c652216895eb66 /include/linux/if_team.h | |
parent | 122bb046bcfb8f3d2d94d9f7f6b74da187a740f2 (diff) | |
download | linux-52a4fd77808662a16cd17ad3b0e1ad75e0162d8b.tar.gz linux-52a4fd77808662a16cd17ad3b0e1ad75e0162d8b.tar.bz2 linux-52a4fd77808662a16cd17ad3b0e1ad75e0162d8b.zip |
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.h | 2 |
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); |