diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2015-12-02 23:19:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-03 23:19:40 +0300 |
commit | dc8d1eb305984b1182f5e85de3c3a1f8592b83af (patch) | |
tree | 612716949497835537f318a836fbd4f2490a0951 /block/partitions/mac.c | |
parent | b69e3c6f71a53fb46bba588e651d943785398220 (diff) | |
download | linux-dc8d1eb305984b1182f5e85de3c3a1f8592b83af.tar.xz |
tipc: fix node reference count bug
Commit 5405ff6e15f40f2f ("tipc: convert node lock to rwlock")
introduced a bug to the node reference counter handling. When a
message is successfully sent in the function tipc_node_xmit(),
we return directly after releasing the node lock, instead of
continuing and decrementing the node reference counter as we
should do.
This commit fixes this bug.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/partitions/mac.c')
0 files changed, 0 insertions, 0 deletions