diff options
author | Jeff Garzik <jgarzik@redhat.com> | 2007-10-08 03:06:32 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:54:49 -0400 |
commit | 14e3e07979c4384e45e751882292d3b38477e855 (patch) | |
tree | a99004a45287f943ffa69428ceb0d516f1bc9458 /drivers/net | |
parent | cfcabdcc2d5a810208e5bb3974121b7ed60119aa (diff) |
[NET]: split dev_ifsioc() according to locking
This always bugged me: dev_ioctl() called dev_ifsioc() either inside
read_lock(dev_base_lock) or rtnl_lock(), depending on the ioctl being
executed.
This change moves the ioctls executed inside dev_base_lock to a new
function, dev_ifsioc_locked(). Now the locking context is completely
clear to the reader.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions