diff options
Diffstat (limited to 'net/tipc/discover.c')
-rw-r--r-- | net/tipc/discover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/discover.c b/net/tipc/discover.c index 580b50a79e43..caac5c93b7f7 100644 --- a/net/tipc/discover.c +++ b/net/tipc/discover.c | |||
@@ -169,7 +169,7 @@ void tipc_disc_recv_msg(struct sk_buff *buf, struct tipc_bearer *b_ptr) | |||
169 | 169 | ||
170 | /* Create a link endpoint for this bearer, if necessary */ | 170 | /* Create a link endpoint for this bearer, if necessary */ |
171 | if (!link) { | 171 | if (!link) { |
172 | link = tipc_link_create(b_ptr, orig, &media_addr); | 172 | link = tipc_link_create(n_ptr, b_ptr, &media_addr); |
173 | if (!link) { | 173 | if (!link) { |
174 | tipc_node_unlock(n_ptr); | 174 | tipc_node_unlock(n_ptr); |
175 | return; | 175 | return; |