]> git.baikalelectronics.ru Git - kernel.git/commit
ipvlan: move the device check function into netdevice.h
authorMahesh Bandewar <maheshb@google.com>
Sat, 6 Dec 2014 23:53:33 +0000 (15:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 21:10:06 +0000 (16:10 -0500)
commite579b231e315735f11c00f6fa4839dedb96f358f
treed3e2a240606e79cc961337001297e8609ecc1220
parentd8accab5ac4e5d35f758a6aa919601d28c90ed7e
ipvlan: move the device check function into netdevice.h

Move the port check [ipvlan_dev_master()] and device check
[ipvlan_dev_slave()] functions to netdevice.h and rename them
netif_is_ipvlan_port() and netif_is_ipvlan() resp. to be
consistent with macvlan api naming.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvlan.h
drivers/net/ipvlan/ipvlan_main.c
include/linux/netdevice.h