aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/port.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/port.c')
-rw-r--r--net/tipc/port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/port.c b/net/tipc/port.c
index c4b5a347037a..b103d7630c82 100644
--- a/net/tipc/port.c
+++ b/net/tipc/port.c
@@ -1221,7 +1221,7 @@ int tipc_send2name(u32 ref, struct tipc_name const *name, unsigned int domain,
1221 msg_set_destnode(msg, destnode); 1221 msg_set_destnode(msg, destnode);
1222 msg_set_destport(msg, destport); 1222 msg_set_destport(msg, destport);
1223 1223
1224 if (likely(destport)) { 1224 if (likely(destport || destnode)) {
1225 if (likely(destnode == tipc_own_addr)) 1225 if (likely(destnode == tipc_own_addr))
1226 res = tipc_port_recv_sections(p_ptr, num_sect, 1226 res = tipc_port_recv_sections(p_ptr, num_sect,
1227 msg_sect, total_len); 1227 msg_sect, total_len);