OSDN Git Service

teaming: deliver link-local packets with the link they arrive on
authorjeffreyji <jeffreyji@google.com>
Thu, 17 Feb 2022 21:23:12 +0000 (21:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Feb 2022 11:40:52 +0000 (11:40 +0000)
commitaaae162aeb676f6c38e7a31b16631274f68874f4
tree4924ae05d040a39d0a6d664013267396a20a91dd
parenta3b355c7785bffcd21a20d1b0f99e07af0f12aff
teaming: deliver link-local packets with the link they arrive on

skb is ignored if team port is disabled. We want the skb to be delivered
if it's an link layer packet.

Issue is already fixed for bonding in
commit b89f04c61efe ("bonding: deliver link-local packets with skb->dev set to link that packets arrived on")

changelog:

v2: change LLDP -> link layer in comments/commit descrip, comment format

Signed-off-by: jeffreyji <jeffreyji@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c