be2net: fix bug in vlan rx path for big endian architecture
authorAjit Khaparde <ajitk@serverengines.com>
Wed, 31 Mar 2010 02:00:32 +0000 (02:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Apr 2010 00:25:59 +0000 (17:25 -0700)
commit9cae9e4f8b5887d8ef46fc56c7ca97814ae741ce
tree67e03e75d3f520ab65ef50bf0d9dc088ac385584
parent8b93b710a9cd70d67013b4b0f00df7dfda058064
be2net: fix bug in vlan rx path for big endian architecture

vlan traffic on big endian architecture is broken.
Need to swap the vid before giving packet to stack.
This patch fixes it.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c