diff options
Diffstat (limited to 'net/tipc')
| -rw-r--r-- | net/tipc/port.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/net/tipc/port.c b/net/tipc/port.c index 2c64ad88e3cf..0bd3e6192c43 100644 --- a/net/tipc/port.c +++ b/net/tipc/port.c | |||
| @@ -842,13 +842,10 @@ static void port_dispatcher_sigh(void *dummy) | |||
| 842 | 842 | ||
| 843 | tipc_port_unlock(p_ptr); | 843 | tipc_port_unlock(p_ptr); |
| 844 | if (unlikely(!connected)) { | 844 | if (unlikely(!connected)) { |
| 845 | if (unlikely(published)) | 845 | if (tipc_connect2port(dref, &orig)) |
| 846 | goto reject; | 846 | goto reject; |
| 847 | tipc_connect2port(dref,&orig); | 847 | } else if ((msg_origport(msg) != peer_port) || |
| 848 | } | 848 | (msg_orignode(msg) != peer_node)) |
| 849 | if (unlikely(msg_origport(msg) != peer_port)) | ||
| 850 | goto reject; | ||
| 851 | if (unlikely(msg_orignode(msg) != peer_node)) | ||
| 852 | goto reject; | 849 | goto reject; |
| 853 | if (unlikely(!cb)) | 850 | if (unlikely(!cb)) |
| 854 | goto reject; | 851 | goto reject; |
