summaryrefslogtreecommitdiffstats
path: root/net/tipc/node_subscr.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/node_subscr.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/node_subscr.c')
-rw-r--r--net/tipc/node_subscr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/node_subscr.c b/net/tipc/node_subscr.c
index c3c2815ae63..327ffbbfee0 100644
--- a/net/tipc/node_subscr.c
+++ b/net/tipc/node_subscr.c
@@ -45,7 +45,7 @@
void tipc_nodesub_subscribe(struct tipc_node_subscr *node_sub, u32 addr,
void *usr_handle, net_ev_handler handle_down)
{
- if (addr == tipc_own_addr) {
+ if (in_own_node(addr)) {
node_sub->node = NULL;
return;
}