netdev-linux: Set missing cache validity bit.
authorJesse Gross <jesse@nicira.com>
Wed, 16 Sep 2009 18:03:42 +0000 (11:03 -0700)
committerJesse Gross <jesse@nicira.com>
Wed, 16 Sep 2009 18:03:42 +0000 (11:03 -0700)
commitedaa959f6b5100361a6af2e5c68ca6abb94bf838
tree4e90d61d4907c553fdb4679e7a1a92847850c2f9
parent3f2c96d605ab2732ce2930bf6a747df5e8540613
netdev-linux: Set missing cache validity bit.

Whether a port is internal is cached to avoid requerying the kernel
every time stats are requested.  However, the cache vality bit was
never being set so the cache wasn't used.  This corrects that
oversight.

Thanks to Ben Pfaff for noticing.
lib/netdev-linux.c