]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: remove inet_addr_hash_lock in devinet.c
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 6 May 2014 18:15:56 +0000 (11:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 May 2014 02:56:56 +0000 (22:56 -0400)
commitd6c4fe92e00a4ebdd9758fd3607a6b0204aba4dc
treebb39bdbdd14525746e9663f616c783464654c8d0
parent453c83c3db11ed3194ddb65c306b2c2d7ff753bf
ipv4: remove inet_addr_hash_lock in devinet.c

All the callers hold RTNL lock, so there is no need to use inet_addr_hash_lock
to protect the hash list.

Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c