diff options
author | Vladimir Oltean | 2019-05-30 00:42:31 +0300 |
---|---|---|
committer | David S. Miller | 2019-05-30 14:47:14 -0700 |
commit | 0471dd429cea6507a4000169ff6a33f41ba371b3 (patch) | |
tree | 052e42634fbcade7d76df01b3dcfe5eda0151f42 /mm/kmemleak.c | |
parent | d34d2baa9173f6e0c0f22d005d18e83d1cb54d8d (diff) |
net: dsa: tag_8021q: Create a stable binary format
Tools like tcpdump need to be able to decode the significance of fake
VLAN headers that DSA uses to separate switch ports.
But currently these have no global significance - they are simply an
ordered list of DSA_MAX_SWITCHES x DSA_MAX_PORTS numbers ending at 4095.
The reason why this is submitted as a fix is that the existing mapping
of VIDs should not enter into a stable kernel, so we can pretend that
only the new format exists. This way tcpdump won't need to try to make
something out of the VLAN tags on 5.2 kernels.
Fixes: f9bbe4477c30 ("net: dsa: Optional VLAN-based port separation for switches without tagging")
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions