netdev-linux: Initialize rx_compressed, tx_compressed when converting.
authorBen Pfaff <blp@nicira.com>
Mon, 16 May 2011 20:22:05 +0000 (13:22 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 16 May 2011 20:22:05 +0000 (13:22 -0700)
commit7afa4f1d98d26066c66572f5af3d433ae9d18bb9
treee1d811e1814345936ad38bafb6fc64bb867b9d37
parenta7d790694580d959271fe97d108d9d03d9a89983
netdev-linux: Initialize rx_compressed, tx_compressed when converting.

rtnl_link_stats64 has rx_compressed and tx_compressed members that
struct netdev_stats lacks, so we need to initialize them to zero when
converting.

Found by valgrind.
lib/netdev-linux.c