linux-kernel-test/net/8021q
Patrick McHardy c17d8874f9 [VLAN]: Convert name-based configuration functions to struct netdevice *
Move the device lookup and checks to the ioctl handler under the RTNL and
change all name-based interfaces to take a struct net_device * instead.

This allows to use them from a netlink interface, which identifies devices
based on ifindex not name. It also avoids races between the ioctl interface
and the (upcoming) netlink interface since now all changes happen under the
RTNL.

As a nice side effect this greatly simplifies error handling in the helper
functions and fixes a number of incorrect error codes like -EINVAL for
device not found.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-07-10 22:14:38 -07:00
..
Kconfig [NET]: move config options out to individual protocols 2005-07-11 21:13:56 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vlan_dev.c [VLAN]: Convert name-based configuration functions to struct netdevice * 2007-07-10 22:14:38 -07:00
vlan.c [VLAN]: Convert name-based configuration functions to struct netdevice * 2007-07-10 22:14:38 -07:00
vlan.h [VLAN]: Convert name-based configuration functions to struct netdevice * 2007-07-10 22:14:38 -07:00
vlanproc.c [NET]: Rework dev_base via list_head (v3) 2007-05-03 15:13:45 -07:00
vlanproc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00