datapath: Add clean compat layer for dev_get_stats().
authorBen Pfaff <blp@nicira.com>
Tue, 9 Nov 2010 20:39:17 +0000 (12:39 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 9 Nov 2010 21:48:22 +0000 (13:48 -0800)
commit16d40e2aaab1f067e452f36fac9bf0214310bf33
tree80fb4a305a83bdea550c984484e712e15c7604ce
parentf493a3fc144adf053c6bb2cf446300c65e9e22c3
datapath: Add clean compat layer for dev_get_stats().

Build tested (only) only on i386 for 2.6.26, 2.6.29, 2.6.33, 2.6.34,
and 2.6.36, and on x86-64 for 2.6.31 and 2.6.36.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux-2.6/Modules.mk
datapath/linux-2.6/compat-2.6/include/linux/if_link.h [new file with mode: 0644]
datapath/linux-2.6/compat-2.6/include/linux/netdevice.h
datapath/linux-2.6/compat-2.6/netdevice.c [new file with mode: 0644]
datapath/vport-netdev.c