diff options
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r-- | net/tipc/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index cdb79503d890..590d597589cf 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -843,7 +843,7 @@ void tipc_node_check_dest(struct net *net, u32 onode, | |||
843 | memcpy(&le->maddr, maddr, sizeof(*maddr)); | 843 | memcpy(&le->maddr, maddr, sizeof(*maddr)); |
844 | exit: | 844 | exit: |
845 | tipc_node_write_unlock(n); | 845 | tipc_node_write_unlock(n); |
846 | if (reset && !tipc_link_is_reset(l)) | 846 | if (reset && l && !tipc_link_is_reset(l)) |
847 | tipc_node_link_down(n, b->identity, false); | 847 | tipc_node_link_down(n, b->identity, false); |
848 | tipc_node_put(n); | 848 | tipc_node_put(n); |
849 | } | 849 | } |