]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1f49529b821ef0467413db921883f0da487ff2b
treec2e4ed1163126ecc3416d9510f98322a8b27f343
parenteeea51f907f4ee1357f5e66defbf769992e864dc
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