aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc')
-rw-r--r--net/tipc/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/config.c b/net/tipc/config.c
index f76d3b15e4e2..f5458eddd7bc 100644
--- a/net/tipc/config.c
+++ b/net/tipc/config.c
@@ -290,7 +290,7 @@ struct sk_buff *tipc_cfg_do_cmd(u32 orig_node, u16 cmd, const void *request_area
290 290
291 /* Check command authorization */ 291 /* Check command authorization */
292 292
293 if (likely(orig_node == tipc_own_addr)) { 293 if (likely(in_own_node(orig_node))) {
294 /* command is permitted */ 294 /* command is permitted */
295 } else if (cmd >= 0x8000) { 295 } else if (cmd >= 0x8000) {
296 rep_tlv_buf = tipc_cfg_reply_error_string(TIPC_CFG_NOT_SUPPORTED 296 rep_tlv_buf = tipc_cfg_reply_error_string(TIPC_CFG_NOT_SUPPORTED