qeth: Fix IP version detection for VLAN traffic
authorStefan Raspl <raspl@linux.vnet.ibm.com>
Wed, 19 Mar 2014 06:58:02 +0000 (07:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Mar 2014 04:06:56 +0000 (00:06 -0400)
commita9baf10aafe7001501189099df4b91f90739e182
tree4a69b101aed52cc458bdd1920374c45b8141c3ea
parent43934077b085151e1f6b19b45d7179760e8fa63d
qeth: Fix IP version detection for VLAN traffic

The current code would always return 0 for VLAN-encapsulated IP traffic.
One notable side effect was that VLAN traffic would never get prioritized
on OSD and OSX devices when priority queueing modes prio_queueing_tos or
prio_queueing_prec were enabled.

Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core.h