datapath: Fix off-by-one error in dev_get_stats() compat code.
authorBen Pfaff <blp@nicira.com>
Fri, 10 Dec 2010 22:45:38 +0000 (14:45 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 13 Dec 2010 18:20:20 +0000 (10:20 -0800)
commit0f34eb123011f848083b49384ac82e5a57c8c5d1
tree68e84355cc0988d47e572fe06fe4635053904de0
parent3f2dd2b10b6f8473fc9ba0637c955d13e2e35a38
datapath: Fix off-by-one error in dev_get_stats() compat code.

dev_get_stats() was introduced in 2.6.29, not 2.6.28.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux-2.6/compat-2.6/netdevice.c