Revision e1618d461ca18d40f9c3ef70598abb72e75d27ae authored by Vlad Yasevich on 20 May 2014, 14:59:26 UTC, committed by David S. Miller on 20 May 2014, 15:24:26 UTC
The new function vlan_get_encap_level() uses vlan_dev_priv()
which is only conditionally avaialble when VLAN support is
enabled.  Make vlan_get_encap_level() conditionally available
as well.

Fixes: 44a4085538c8 ("bonding: Fix stacked device detection in arp monitoring")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
CC: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 4f337ed
History
File Mode Size
1.Intro -rw-r--r-- 14.6 KB
2.Process -rw-r--r-- 23.2 KB
3.Early-stage -rw-r--r-- 10.6 KB
4.Coding -rw-r--r-- 20.6 KB
5.Posting -rw-r--r-- 15.1 KB
6.Followthrough -rw-r--r-- 11.7 KB
7.AdvancedTopics -rw-r--r-- 9.4 KB
8.Conclusion -rw-r--r-- 3.1 KB

back to top