datapath: Don't use vlan_features before 2.6.26.
authorJesse Gross <jesse@nicira.com>
Mon, 7 Feb 2011 23:50:04 +0000 (15:50 -0800)
committerJesse Gross <jesse@nicira.com>
Tue, 8 Feb 2011 00:07:18 +0000 (16:07 -0800)
commit2d8916e58fe0592c2c0f3161f4287ce962269b7f
treeae481a7144642c2a5941b0b3d190be6aedd5b082
parent18c43631587c68bcd8ce82fcdd6b27ed3d998071
datapath: Don't use vlan_features before 2.6.26.

Support for offloading over vlans wasn't introduced until 2.6.26,
so do full software emulation on kernels before that when dealing
with vlan packets.

Reported-by: Justin Pettit <jpettit@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/vport-netdev.c