]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bonding: pass link-local packets to bonding master also.
authorMahesh Bandewar <maheshb@google.com>
Mon, 24 Sep 2018 21:39:42 +0000 (14:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Oct 2018 07:16:20 +0000 (09:16 +0200)
commit90a3d8afe1f41ab7034d91c6550b63485ae5ae1b
treea690bd460fbe93f4d4a9bcfb72d12d50bb05c3c1
parent83eb2fdd0483ea9195fa4a46532e57b2df1b9974
bonding: pass link-local packets to bonding master also.

[ Upstream commit 6a9e461f6fe4434e6172304b69774daff9a3ac4c ]

Commit b89f04c61efe ("bonding: deliver link-local packets with
skb->dev set to link that packets arrived on") changed the behavior
of how link-local-multicast packets are processed. The change in
the behavior broke some legacy use cases where these packets are
expected to arrive on bonding master device also.

This patch passes the packet to the stack with the link it arrived
on as well as passes to the bonding-master device to preserve the
legacy use case.

Fixes: b89f04c61efe ("bonding: deliver link-local packets with skb->dev set to link that packets arrived on")
Reported-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/bonding/bond_main.c