Commit 868aabb4708d introduced per-flow priority. There's a fault in the
logic for untagged traffic, it does not check M_VLANTAG which is set in
the mbuf packet header and pass the mbuf to underlaying interface. When
the driver is incapable or disabled to do hardware VLAN tag insertion then
the outbound packets will not include the desired priority.
Some drivers happen to work due to bug mentioned in D39499, so it may not
repeat on those drivers.
The current logic also bypass soft pad processing and checking priority
set by firewall (currently only pf).
Fix by checking flag M_VLANTAG which is set in mbuf packet header and
priority set in mbuf tag MTAG_8021Q / MTAG_8021Q_PCP_OUT.
PR: 273431
Fixes: 868aabb4708d Add IP(V6)_VLAN_PCP to set 802.1 priority per-flow
MFC after: 1 week