OSDN Git Service

net: dsa: Only notify CPU ports of changes to the tag protocol
authorTobias Waldekranz <tobias@waldekranz.com>
Tue, 20 Apr 2021 18:53:09 +0000 (20:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Apr 2021 23:51:19 +0000 (16:51 -0700)
commit21e0b508c8d1fd7f1a4b91794391d1978431e083
treee6b8a2ec50edc5b4621eabe6e7a407ba12c08dc2
parent9a99bef5f87f2fb025e9a51ff4ad820f7b8a9ffb
net: dsa: Only notify CPU ports of changes to the tag protocol

Previously DSA ports were also included, on the assumption that the
protocol used by the CPU port had to the matched throughout the entire
tree.

As there is not yet any consumer in need of this, drop the call.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/switch.c