提交 17159b0b 编写于 作者: J Joe Perches 提交者: David S. Miller

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

Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 9ad0977f
...@@ -364,7 +364,7 @@ static __inline__ int led_get_net_activity(void) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册