Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266097
b: refs/heads/master
c: ed33a9c
h: refs/heads/master
i:
  266095: 1f1f617
v: v3
  • Loading branch information
Allan Stephens authored and Paul Gortmaker committed Sep 1, 2011
1 parent d446ba6 commit 12c91ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5adeb17c936d2dca155e4c93e2c6ea70419a6033
refs/heads/master: ed33a9c4e354b08630bcf4cea70596f690487108
11 changes: 2 additions & 9 deletions trunk/net/tipc/link.c
Original file line number Diff line number Diff line change
Expand Up @@ -1658,19 +1658,12 @@ void tipc_recv_msg(struct sk_buff *head, struct tipc_bearer *b_ptr)
continue;
}

/* Discard unicast link messages destined for another node */

if (unlikely(!msg_short(msg) &&
(msg_destnode(msg) != tipc_own_addr)))
goto cont;

/* Discard non-routeable messages destined for another node */

if (unlikely(!msg_isdata(msg) &&
(msg_destnode(msg) != tipc_own_addr))) {
if ((msg_user(msg) != CONN_MANAGER) &&
(msg_user(msg) != MSG_FRAGMENTER))
goto cont;
}

/* Locate neighboring node that sent message */

n_ptr = tipc_node_find(msg_prevnode(msg));
Expand Down

0 comments on commit 12c91ad

Please sign in to comment.