aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/msg.c')
-rw-r--r--net/tipc/msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/msg.c b/net/tipc/msg.c
index a38f6a680df1..642fb137463c 100644
--- a/net/tipc/msg.c
+++ b/net/tipc/msg.c
@@ -426,7 +426,7 @@ exit:
426 * Returns 0 (TIPC_OK) if message ok and we can try again, -TIPC error 426 * Returns 0 (TIPC_OK) if message ok and we can try again, -TIPC error
427 * code if message to be rejected 427 * code if message to be rejected
428 */ 428 */
429int tipc_msg_eval(struct sk_buff *buf, u32 *dnode) 429int tipc_msg_eval(struct net *net, struct sk_buff *buf, u32 *dnode)
430{ 430{
431 struct tipc_msg *msg = buf_msg(buf); 431 struct tipc_msg *msg = buf_msg(buf);
432 u32 dport; 432 u32 dport;
@@ -441,7 +441,7 @@ int tipc_msg_eval(struct sk_buff *buf, u32 *dnode)
441 return -TIPC_ERR_NO_NAME; 441 return -TIPC_ERR_NO_NAME;
442 442
443 *dnode = addr_domain(msg_lookup_scope(msg)); 443 *dnode = addr_domain(msg_lookup_scope(msg));
444 dport = tipc_nametbl_translate(msg_nametype(msg), 444 dport = tipc_nametbl_translate(net, msg_nametype(msg),
445 msg_nameinst(msg), 445 msg_nameinst(msg),
446 dnode); 446 dnode);
447 if (!dport) 447 if (!dport)