|
@@ -364,7 +364,7 @@ static __inline__ int led_get_net_activity(void)
|
|
struct in_device *in_dev = __in_dev_get_rcu(dev);
|
|
struct in_device *in_dev = __in_dev_get_rcu(dev);
|
|
if (!in_dev || !in_dev->ifa_list)
|
|
if (!in_dev || !in_dev->ifa_list)
|
|
continue;
|
|
continue;
|
|
- if (LOOPBACK(in_dev->ifa_list->ifa_local))
|
|
|
|
|
|
+ if (ipv4_is_loopback(in_dev->ifa_list->ifa_local))
|
|
continue;
|
|
continue;
|
|
stats = dev->get_stats(dev);
|
|
stats = dev->get_stats(dev);
|
|
rx_total += stats->rx_packets;
|
|
rx_total += stats->rx_packets;
|