]> git.baikalelectronics.ru Git - kernel.git/commit
netdevice: Support DSA tagging when DSA is built as a module
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 13 Sep 2014 06:12:46 +0000 (23:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Sep 2014 21:37:15 +0000 (17:37 -0400)
commit52cd82ac0bd82a803a9b89b11116b410f6e62b64
tree1fab7c33ce22cff7aff0f47f300f646b6f6cd171
parent6e8aed4cb4a36aa691d265cd5873da674a3ea5e6
netdevice: Support DSA tagging when DSA is built as a module

This change corrects an error seen when DSA tagging is built as a module.
Without this change it is not possible to get XDSA tagged frames as the
test for tagging is stripped by the #ifdef check.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h