net: dsa: tag_qca: fix wrong MGMT_DATA2 size
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 29 Dec 2022 16:33:33 +0000 (17:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Jan 2023 09:27:12 +0000 (09:27 +0000)
commitd9dba91be71f03cc75bcf39fc0d5d99ff33f1ae0
tree066b828aa57522066a844b87f3ff0746e9a177cc
parent9807ae69746196ee4bbffe7d22d22ab2b61c6ed0
net: dsa: tag_qca: fix wrong MGMT_DATA2 size

It was discovered that MGMT_DATA2 can contain up to 28 bytes of data
instead of the 12 bytes written in the Documentation by accounting the
limit of 16 bytes declared in Documentation subtracting the first 4 byte
in the packet header.

Update the define with the real world value.

Tested-by: Ronald Wahl <ronald.wahl@raritan.com>
Fixes: c2ee8181fddb ("net: dsa: tag_qca: add define for handling mgmt Ethernet packet")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Cc: stable@vger.kernel.org # v5.18+
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/dsa/tag_qca.h