summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@redhat.com>2007-10-08 00:06:32 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:54:49 -0700
commit14e3e07979c4384e45e751882292d3b38477e855 (patch)
treea99004a45287f943ffa69428ceb0d516f1bc9458 /drivers
parentcfcabdcc2d5a810208e5bb3974121b7ed60119aa (diff)
downloadlinux-3.10-14e3e07979c4384e45e751882292d3b38477e855.tar.gz
linux-3.10-14e3e07979c4384e45e751882292d3b38477e855.tar.bz2
linux-3.10-14e3e07979c4384e45e751882292d3b38477e855.zip
[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')
0 files changed, 0 insertions, 0 deletions