]> 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)
commit2eefd8e6bd7175af60473e315f4c098d7fef289d
tree1fab7c33ce22cff7aff0f47f300f646b6f6cd171
parentabc4f9dbfaa1a0abed09eaf022701cb43b38fe62
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