aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/discover.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/discover.c')
-rw-r--r--net/tipc/discover.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/discover.c b/net/tipc/discover.c
index faeaf06d377e..ada213aac4d4 100644
--- a/net/tipc/discover.c
+++ b/net/tipc/discover.c
@@ -156,11 +156,11 @@ static void disc_dupl_alert(struct bearer *b_ptr, u32 node_addr,
156/** 156/**
157 * tipc_disc_recv_msg - handle incoming link setup message (request or response) 157 * tipc_disc_recv_msg - handle incoming link setup message (request or response)
158 * @buf: buffer containing message 158 * @buf: buffer containing message
159 * @b_ptr: bearer that message arrived on
159 */ 160 */
160 161
161void tipc_disc_recv_msg(struct sk_buff *buf) 162void tipc_disc_recv_msg(struct sk_buff *buf, struct bearer *b_ptr)
162{ 163{
163 struct bearer *b_ptr = (struct bearer *)TIPC_SKB_CB(buf)->handle;
164 struct link *link; 164 struct link *link;
165 struct tipc_media_addr media_addr; 165 struct tipc_media_addr media_addr;
166 struct tipc_msg *msg = buf_msg(buf); 166 struct tipc_msg *msg = buf_msg(buf);