浏览代码

[PARISC]: Fix build after ipv4_is_*() changes.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Joe Perches 17 年之前
父节点
当前提交
17159b0b49
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/parisc/led.c

+ 1 - 1
drivers/parisc/led.c

@@ -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;