summaryrefslogtreecommitdiffstats
path: root/net/tipc/config.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-04-20 20:40:31 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-20 20:40:31 -0400
commit167de77fd4e5646f98f67bd9f0a0054a891f6ff4 (patch)
treeabe31d384dbe9c7bad0da839600423d1eda4b6e2 /net/tipc/config.c
parent2528a5dc4331aebbb990f2a56d179dfa35de4a4f (diff)
parent9d52ce4bd3fa9e0cf1658791f2c680e20e0598a1 (diff)
Merge branch 'tipc_net-next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux
Diffstat (limited to 'net/tipc/config.c')
-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 f76d3b15e4e..f5458eddd7b 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
/* Check command authorization */
- if (likely(orig_node == tipc_own_addr)) {
+ if (likely(in_own_node(orig_node))) {
/* command is permitted */
} else if (cmd >= 0x8000) {
rep_tlv_buf = tipc_cfg_reply_error_string(TIPC_CFG_NOT_SUPPORTED