netdev: Really set output values to 0 on failure in netdev_get_features().
authorBen Pfaff <blp@nicira.com>
Thu, 19 Nov 2009 19:06:14 +0000 (11:06 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 19 Nov 2009 21:32:59 +0000 (13:32 -0800)
commit7671589afbe5e7ff8a7f2e730ed077416e419fa8
tree9bbc816402a1aacbe7581e08e7b778940e3c6caa
parent9af9e2e8cff919c6053d862703ac228ce1a15bdd
netdev: Really set output values to 0 on failure in netdev_get_features().

The comment on netdev_get_features() claimed that all of the passed-in
values were set to 0 on failure, but the implementation didn't live up
to the promise.

CC: Paul Ingram <paul@nicira.com>
lib/netdev-linux.c
lib/netdev.c