commit | 14e3e07979c4384e45e751882292d3b38477e855 | [log] [tgz] |
---|---|---|
author | Jeff Garzik <jgarzik@redhat.com> | Mon Oct 08 00:06:32 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 10 16:54:49 2007 -0700 |
tree | a99004a45287f943ffa69428ceb0d516f1bc9458 | |
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>