ifnet - Compute iface statistics for NET_RT_IFLIST
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Tue, 10 Sep 2013 11:11:32 +0000 (04:11 -0700)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Tue, 10 Sep 2013 11:42:47 +0000 (04:42 -0700)
commit06cd98a8817afbbcc1f09201e60bc8e58f14cbf1
treeaa8666b4276d0a3b8dc058fabf5f23911e945555
parent64a49666077dfdbb63320f802776be7ca444b793
ifnet - Compute iface statistics for NET_RT_IFLIST

  Before the ifnet statistics went per-cpu, they were being stored in
  ifnet->if_data. Some functions, like getifaddrs(3), expect them to
  be there so make sure they are available.

Reported by: Tim Bishop, Jens Rehsack
sys/net/rtsock.c