]> git.baikalelectronics.ru Git - kernel.git/commit
team: loadbalance: push lacpdus to exact delivery
authorJiri Pirko <jiri@mellanox.com>
Thu, 25 Aug 2016 16:30:52 +0000 (18:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2016 20:08:59 +0000 (13:08 -0700)
commit273849a99de1d568bc0e11f95ea0bf76554a756f
tree8010de31c89d096b98d8f34535c49270f1d29097
parent371380fd8e8660912c5921986710fc0e855fe147
team: loadbalance: push lacpdus to exact delivery

When team is in bridge and LACP is utilized, LACPDU packets are pushed
to userspace using raw socket and there they are processed. However,
since 5f7bf977db3c1, LACPDU skbs are dropped by bridge rx_handler so
they never reach packet handlers in rx path. Fix this by explicity treat
LACPDUs to be pushed to exact delivery in team rx_handler.

Reported-by: Ido Schimmel <idosch@mellanox.com>
Fixes: 5f7bf977db3c1 ("bridge: fix potential use-after-free when hook returns QUEUE or STOLEN verdict")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team_mode_loadbalance.c