]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: RCU locking for simple ioctl()
authorEric Dumazet <eric.dumazet@gmail.com>
Sun, 1 Nov 2009 19:42:09 +0000 (19:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Nov 2009 07:55:11 +0000 (23:55 -0800)
commit3710becf8a58a5c6c4e797e3a3c968c161abdb41
tree8206fd7c4508d8eb16f0d00fc1e7437110f938b7
parent685c7944055b9de51ff509719070afae92b3dbe1
net: RCU locking for simple ioctl()

All ioctls() implemented by dev_ifsioc_locked() :
SIOCGIFFLAGS, SIOCGIFMETRIC, SIOCGIFMTU, SIOCGIFHWADDR,
SIOCGIFSLAVE, SIOCGIFMAP, SIOCGIFINDEX & SIOCGIFTXQLEN
can use RCU lock instead of dev_base_lock rwlock

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c