macvlan: use netdev_is_rx_handler_busy instead of checking specific type
authorMahesh Bandewar <maheshb@google.com>
Wed, 18 Jan 2017 23:02:55 +0000 (15:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jan 2017 17:22:26 +0000 (12:22 -0500)
commit322dc6e067a15a17e66ce35338ca701f13c6422d
treec2e4ed1163126ecc3416d9510f98322a8b27f343
parentc3262d9deccaa7e796b0145b2d26f53c0e2d178f
macvlan: use netdev_is_rx_handler_busy instead of checking specific type

netdev_is_rx_handler_busy() check is a superset of netif_is_ipvlan_port()
check and hence should be preferred.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c