mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-01 18:03:04 +07:00
[PARISC]: Fix build after ipv4_is_*() changes.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9ad0977fe1
commit
17159b0b49
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user