netdev-linux: Avoid RTM_GETQDISC bug workaround on new-enough kernels.
authorBen Pfaff <blp@nicira.com>
Fri, 13 Mar 2015 21:46:23 +0000 (14:46 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 18 Mar 2015 15:28:18 +0000 (08:28 -0700)
commitac3e3aaa0a9be3f5fed6b9b65509efd6b377778a
tree27c733d80806325da6a7e66876702807c0f89b31
parent38b01df60dc8688f934bfe13e9d28cb43f3a5829
netdev-linux: Avoid RTM_GETQDISC bug workaround on new-enough kernels.

Otherwise we can't detect classless qdiscs.

This has no useful effect for the currently supported qdiscs, which all
have classes, but it makes it possible to add support for new classless
qdiscs.

This suddenly makes netdev-linux complain about qdiscs it doesn't know
about (e.g. pfifo_fast), which isn't too useful, so this commit also
demotes that INFO message to DBG level.

Reported-by: Jonathan Vestin <jonavest@kau.se>
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
lib/netdev-linux.c