]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Sep 2018 03:21:27 +0000 (20:21 -0700)
commit6ec689095f2afe5df088708dba914b823f14f6e9
treeadf8122cea020b4569f7bb8bf33f6d9178c8187a
parenta8dfaedff2d773ca9a80c6cc1f6fcba525244504
bonding: pass link-local packets to bonding master also.

Commit 30fb622e8ace ("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: 30fb622e8ace ("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>
drivers/net/bonding/bond_main.c