]> 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)
commitdc899958a31d32f3db1be107fba543514d39cf82
treeadf8122cea020b4569f7bb8bf33f6d9178c8187a
parent054a90ab3e6179f0c2e3b1a0b4e9df165f551d97
bonding: pass link-local packets to bonding master also.

Commit d2c1f4c1de68 ("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: d2c1f4c1de68 ("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