diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-11-11 20:38:46 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-12 19:46:27 -0800 |
commit | 129bd7ca8ac0b517c85daa8174ae073db7187b06 (patch) | |
tree | 70eba070ecc99ad8cc085c7e4a5ce8b93aa2e651 /drivers | |
parent | 46cb01eeeb86fca6afe24dda1167b0cb95424e29 (diff) | |
download | linux-129bd7ca8ac0b517c85daa8174ae073db7187b06.tar.gz |
net: dsa: Prevent usage of NET_DSA_TAG_8021Q as tagging protocol
It is possible for a switch driver to use NET_DSA_TAG_8021Q as a valid DSA tagging protocol since it registers itself as such, unfortunately since there are not xmit or rcv functions provided, the lack of a xmit() function will lead to a NPD in dsa_slave_xmit() to start with. net/dsa/tag_8021q.c is only comprised of a set of helper functions at the moment, but is not a fully autonomous or functional tagging "driver" (though it could become later on). We do not have any users of NET_DSA_TAG_8021Q so now is a good time to make sure there are not issues being encountered by making this file strictly a place holder for helper functions. Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions