]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
sctp: introduce sctp_dst_mtu
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Thu, 26 Apr 2018 19:58:57 +0000 (16:58 -0300)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Feb 2019 04:53:01 +0000 (04:53 +0000)
commit13147c4ee5d04dea3ededf2ad3b81f7a3becb5bc
tree06927b2111fb60a9a47f8356d70b9a842803a7b2
parent7ac4ff9d27fd98fdd8cef1e02ff7e802ae73ab45
sctp: introduce sctp_dst_mtu

BugLink: http://bugs.launchpad.net/bugs/1812229
[ Upstream commit 6ff0f871c20ec1769a481edca86f23c76b2b06d3 ]

Which makes sure that the MTU respects the minimum value of
SCTP_DEFAULT_MINSEGMENT and that it is correctly aligned.

Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
include/net/sctp/sctp.h
net/sctp/associola.c
net/sctp/transport.c