]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2018 18:35:23 +0000 (14:35 -0400)
commit2d07a207bd67f2f2df4c05d045bdad926fcf3c2b
tree9fa281c225263df1e1b00e12adfeedfdb6e690f1
parent268d1050b264f8fccee3280204579737fc88446c
sctp: introduce sctp_dst_mtu

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>
include/net/sctp/sctp.h
net/sctp/associola.c
net/sctp/transport.c