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)
commit32a4be48907b930606f8736caa15c812af802227
treebb39bdbdd14525746e9663f616c783464654c8d0
parentf398a77177716137cceda2f00901f54413677869
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