[IPV4] net/ipv4: Use ipv4_is_<type>
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
21cf2253eb
commit
f97c1e0c6e
@ -777,7 +777,7 @@ static int arp_process(struct sk_buff *skb)
|
||||
* Check for bad requests for 127.x.x.x and requests for multicast
|
||||
* addresses. If this is one such, delete it.
|
||||
*/
|
||||
if (LOOPBACK(tip) || MULTICAST(tip))
|
||||
if (ipv4_is_loopback(tip) || ipv4_is_multicast(tip))
|
||||
goto out;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user