tipc: accept PACKET_MULTICAST packets
authorJon Paul Maloy <jon.maloy@ericsson.com>
Mon, 14 Aug 2017 15:55:56 +0000 (17:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2017 18:19:25 +0000 (11:19 -0700)
commitfed5f5718c4989a03b1b4cdc0c7f273c3c74ee9e
tree3a5661c469354024be78f0bd92eed38490d073b3
parent2c87d63ac853550e734edfd45e1be5e5aa44fbcc
tipc: accept PACKET_MULTICAST packets

On L2 bearers, the TIPC broadcast function is sending out packets using
the corresponding L2 broadcast address. At reception, we filter such
packets under the assumption that they will also be delivered as
broadcast packets.

This assumption doesn't always hold true. Under high load, we have seen
that a switch may convert the destination address and deliver the packet
as a PACKET_MULTICAST, something leading to inadvertently dropped
packets and a stale and reset broadcast link.

We fix this by extending the reception filtering to accept packets of
type PACKET_MULTICAST.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.c