netdev-linux: Fix build failure with old kernel headers.
authorBen Pfaff <blp@nicira.com>
Wed, 7 Mar 2012 23:27:52 +0000 (15:27 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 7 Mar 2012 23:48:00 +0000 (15:48 -0800)
commit2a529ead2a3a3a6367896834ef2024ea1a6dd396
tree27c324b252f70829350a637ec8ce1ef61e52c574
parent3e5b3fdbf52cee41142ed8e2bf5cab9f49146d97
netdev-linux: Fix build failure with old kernel headers.

The "speed_hi" member was only introduced in 2.6.27, so builds against
older kernel headers failed.

speed_hi is fully backward compatible with older kernels, because older
kernels always set it to 0, so we could easily introduce a compatibility
layer here, but in fact I don't know of any OVS users who have interfaces
faster than 65.5 Gb/s, so it's hardly urgent.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/netdev-linux.c