]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/sctp/socket.c
[SCTP] Flag a pmtu change request
[karo-tx-linux.git] / net / sctp / socket.c
index 45510c46c2232663ecb0cc3af5058490462bb78c..6edaaa009d627ed17ef559f75a950d75a9aa3dec 100644 (file)
@@ -1662,6 +1662,9 @@ SCTP_STATIC int sctp_sendmsg(struct kiocb *iocb, struct sock *sk,
                goto out_free;
        }
 
+       if (asoc->pmtu_pending)
+               sctp_assoc_pending_pmtu(asoc);
+
        /* If fragmentation is disabled and the message length exceeds the
         * association fragmentation point, return EMSGSIZE.  The I-D
         * does not specify what this error is, but this looks like