Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213826
b: refs/heads/master
c: 96d841b
h: refs/heads/master
v: v3
  • Loading branch information
Allan Stephens authored and David S. Miller committed Aug 18, 2010
1 parent 833fe96 commit bbbbb2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 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: 0048b826afae7c47afdc47c3854707581cafe3d8
refs/heads/master: 96d841b7038b8091af3530a008793f5577337d3a
15 changes: 3 additions & 12 deletions trunk/net/tipc/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,19 +588,10 @@ void tipc_port_recv_proto_msg(struct sk_buff *buf)
if (!p_ptr) {
err = TIPC_ERR_NO_PORT;
} else if (p_ptr->publ.connected) {
if (port_peernode(p_ptr) != msg_orignode(msg))
if ((port_peernode(p_ptr) != msg_orignode(msg)) ||
(port_peerport(p_ptr) != msg_origport(msg))) {
err = TIPC_ERR_NO_PORT;
if (port_peerport(p_ptr) != msg_origport(msg))
err = TIPC_ERR_NO_PORT;
if (!err && msg_routed(msg)) {
u32 seqno = msg_transp_seqno(msg);
u32 myno = ++p_ptr->last_in_seqno;
if (seqno != myno) {
err = TIPC_ERR_NO_PORT;
abort_buf = port_build_self_abort_msg(p_ptr, err);
}
}
if (msg_type(msg) == CONN_ACK) {
} else if (msg_type(msg) == CONN_ACK) {
int wakeup = tipc_port_congested(p_ptr) &&
p_ptr->publ.congested &&
p_ptr->wakeup;
Expand Down

0 comments on commit bbbbb2c

Please sign in to comment.