summaryrefslogtreecommitdiff
path: root/fs/jffs2/malloc.c
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-07-10 10:02:59 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-11 23:10:19 -0700
commitb5de82f3dfbebc2d1b6db72c68f119a1e0427ca8 (patch)
tree65612105eca58cee46fa24ce4f5bee81ef05984b /fs/jffs2/malloc.c
parenteeed992b776c54af6108187c87ac60d028e69d37 (diff)
mlxsw: spectrum_span: Change LAG lower selection
When offloading mirror-to-gretap, mlxsw needs to preroute the path that the encapsulated packet will take. That path may include a LAG device above a front panel port. So far, mlxsw resolved the path to the first up front panel slave of the LAG interface, but that only reflects administrative state of the port. It neglects to consider whether the port actually has a carrier, and what the LACP state is. So instead of checking upness of the device, check carrier state and txability. Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/jffs2/malloc.c')
0 files changed, 0 insertions, 0 deletions