]> git.baikalelectronics.ru Git - kernel.git/commit
8021q: make vlan_pcpu_stats visible without CONFIG_VLAN_8021Q
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Mon, 6 Jan 2014 00:41:20 +0000 (01:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2014 01:27:55 +0000 (20:27 -0500)
commit399ad3a1d2432d1f0a3978ba23c01c9893eb06bd
tree510ffa1885a305f0290ac5a6aafd2876ecad35ef
parent6ef59765dc841422055700a70ced4ba99020f5f5
8021q: make vlan_pcpu_stats visible without CONFIG_VLAN_8021Q

macvlan needs vlan_pcpu_stats so make it visible even if compiling
without VLAN_8021Q support. Otherwise a very long compiler error happens.

Fixes: 823cd260259b74 ("macvlan: unify macvlan_pcpu_stats and vlan_pcpu_stats")
Cc: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-By: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h