commit | 63d01330aad9531a491db1bed5f15cc6b7fd1a78 | [log] [tgz] |
---|---|---|
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | Thu Apr 26 16:59:00 2018 -0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 27 14:35:23 2018 -0400 |
tree | 6a703e3dcaee07f27eb5c09dd19d0e9e59e48633 | |
parent | 6e91b578bf3f9e19c250835cba97a4be38ffcb31 [diff] |
sctp: honor PMTU_DISABLED when handling icmp sctp_sendmsg() could trigger PMTU updates even when PMTU_DISABLED was set, as pmtu_pending could be set unconditionally during icmp handling if the socket was in use by the application. This patch fixes it by checking for PMTU_DISABLED when handling such deferred updates. Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>