summaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_statefuns.c
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>2018-04-26 21:58:51 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-27 20:35:22 +0200
commit800e00c12733fe2ed565206dcdb515fa2f705b9f (patch)
tree073b2244e2fc44c74187656c97b40ee68486a591 /net/sctp/sm_statefuns.c
parentsctp: remove old and unused SCTP_MIN_PMTU (diff)
downloadlinux-800e00c12733fe2ed565206dcdb515fa2f705b9f.tar.xz
linux-800e00c12733fe2ed565206dcdb515fa2f705b9f.zip
sctp: move transport pathmtu calc away of sctp_assoc_add_peer
There was only one case that sctp_assoc_add_peer couldn't handle, which is when SPP_PMTUD_DISABLE is set and pathmtu not initialized. So add this situation to sctp_transport_route and reuse what was already in there. Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sm_statefuns.c')
0 files changed, 0 insertions, 0 deletions