diff options
author | Duan Jiong <duanj.fnst@cn.fujitsu.com> | 2014-08-01 14:00:36 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-02 15:27:35 -0700 |
commit | 188b1210f3d633e27dc97309c97315ce484122ec (patch) | |
tree | f3931c6bf20fa3794d1fbc3ae43de5a28bb88a73 /drivers/net/ethernet/davicom/dm9000.c | |
parent | e339756c9995648eecd015391f66baf2fd251fec (diff) | |
download | linux-188b1210f3d633e27dc97309c97315ce484122ec.tar.bz2 |
ipv4: remove nested rcu_read_lock/unlock
ip_local_deliver_finish() already have a rcu_read_lock/unlock, so
the rcu_read_lock/unlock is unnecessary.
See the stack below:
ip_local_deliver_finish
|
|
->icmp_rcv
|
|
->icmp_socket_deliver
Suggested-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/davicom/dm9000.c')
0 files changed, 0 insertions, 0 deletions