summaryrefslogtreecommitdiffstats
path: root/Documentation/svga.txt
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-06-13 12:05:22 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-10 22:14:38 -0700
commitc17d8874f9959070552fddf1b4e1d73c0c144c0f (patch)
treeea5a61e37f71218f8cb69033293a55631511b470 /Documentation/svga.txt
parent9ba2cd656021e7f70038ba9d551224e04d0bfcef (diff)
downloadop-kernel-dev-c17d8874f9959070552fddf1b4e1d73c0c144c0f.zip
op-kernel-dev-c17d8874f9959070552fddf1b4e1d73c0c144c0f.tar.gz
[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>
Diffstat (limited to 'Documentation/svga.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud