tipc: remove rcu_read_unlock() left in tipc_udp_recv()
authorEric Dumazet <edumazet@google.com>
Thu, 25 Apr 2019 00:21:40 +0000 (17:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Apr 2019 16:01:11 +0000 (12:01 -0400)
commit0e58156d700ac45fd5f0f90698a13233b1fe4c44
tree50ffd922fe206d6637b4f1ebb1fdd39b7f5caf69
parent8c90b795e90f7753d23c18e8b95dd71b4a18c5d9
tipc: remove rcu_read_unlock() left in tipc_udp_recv()

I forgot to remove one rcu_read_unlock() before a return statement.

Joy of mixing goto and return styles in a function :)

Fixes: 4109a2c3b91e ("tipc: tipc_udp_recv() cleanup vs rcu verbs")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/udp_media.c