]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/tipc/socket.c
tipc: eliminate connection setup for implied connect in recv_msg()
[karo-tx-linux.git] / net / tipc / socket.c
index dbce2745f0a8ab52bbc037eba771054778287096..ef75b6270247b4ecfeddace3b9ba993e718df30b 100644 (file)
@@ -946,13 +946,6 @@ restart:
        sz = msg_data_sz(msg);
        err = msg_errcode(msg);
 
-       /* Complete connection setup for an implied connect */
-       if (unlikely(sock->state == SS_CONNECTING)) {
-               res = auto_connect(sock, msg);
-               if (res)
-                       goto exit;
-       }
-
        /* Discard an empty non-errored message & try again */
        if ((!sz) && (!err)) {
                advance_rx_queue(sk);