]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Error out on tagging protocol mismatches
authorAndrew Lunn <andrew@lunn.ch>
Fri, 24 Oct 2014 21:44:04 +0000 (23:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 19:27:54 +0000 (15:27 -0400)
commita747f71cd1bbb551101e2c04c88324f857493024
treee3b462eb507de0d5c882ad9b26dc36b67726b686
parentdca1dd639c84edba10136e1212d8ec12b20d83ab
net: dsa: Error out on tagging protocol mismatches

If there is a mismatch between enabled tagging protocols and the
protocol the switch supports, error out, rather than continue with a
situation which is unlikely to work.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
cc: alexander.h.duyck@intel.com
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c