vlan: Calling vlan_hwaccel_do_receive() is always valid.
authorJesse Gross <jesse@nicira.com>
Thu, 21 Oct 2010 11:30:42 +0000 (11:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Oct 2010 02:59:31 +0000 (19:59 -0700)
commit0988c4c7fb5881377ec20a6452f739a722e97c6b
treeda72b7404960d912b7646a7749ac5829e30d96cd
parent2198a10b501fd4443430cb17e065a9e859cc58c9
vlan: Calling vlan_hwaccel_do_receive() is always valid.

It is now acceptable to receive vlan tagged packets at any time,
even if CONFIG_VLAN_8021Q is not set.  This means that calling
vlan_hwaccel_do_receive() should not result in BUG() but rather just
behave as if there were no vlan devices configured.

Reported-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h