summaryrefslogtreecommitdiffstats
path: root/drivers/net/macvlan.c
diff options
context:
space:
mode:
authorMahesh Bandewar <maheshb@google.com>2017-01-19 00:02:53 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-20 18:22:26 +0100
commitc3262d9deccaa7e796b0145b2d26f53c0e2d178f (patch)
tree460a2e4d017b41c865228906957af9a2f5f86291 /drivers/net/macvlan.c
parentnet: remove duplicate code. (diff)
downloadlinux-c3262d9deccaa7e796b0145b2d26f53c0e2d178f.tar.xz
linux-c3262d9deccaa7e796b0145b2d26f53c0e2d178f.zip
ipvlan: use netdev_is_rx_handler_busy instead of checking specific type
IPvlan checks if the master device is already used by checking a specific device (here it's macvlan device). This is technically not sufficient and it should just ensure the rx_handler is busy or not. This would be a super check that includes macvlan and any other that has already registered rx-handler. Signed-off-by: Mahesh Bandewar <maheshb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvlan.c')
0 files changed, 0 insertions, 0 deletions