Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255913
b: refs/heads/master
c: 017dac3
h: refs/heads/master
i:
  255911: a1d6014
v: v3
  • Loading branch information
Allan Stephens authored and Paul Gortmaker committed Jun 24, 2011
1 parent 5f4e93c commit 73c0239
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 76d12527f74ad1b42b068252fdd2056c8ae48a99
refs/heads/master: 017dac31dc8a25ad45421715d88c3869e299fd35
7 changes: 6 additions & 1 deletion trunk/net/tipc/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ int tipc_reject_msg(struct sk_buff *buf, u32 err)
int hdr_sz;
u32 imp = msg_importance(msg);
u32 data_sz = msg_data_sz(msg);
u32 src_node;

if (data_sz > MAX_REJECT_SIZE)
data_sz = MAX_REJECT_SIZE;
Expand Down Expand Up @@ -416,7 +417,11 @@ int tipc_reject_msg(struct sk_buff *buf, u32 err)

/* send returned message & dispose of rejected message */

tipc_net_route_msg(rbuf);
src_node = msg_prevnode(msg);
if (src_node == tipc_own_addr)
tipc_port_recv_msg(rbuf);
else
tipc_link_send(rbuf, src_node, msg_link_selector(rmsg));
exit:
buf_discard(buf);
return data_sz;
Expand Down

0 comments on commit 73c0239

Please sign in to comment.