commit | 38687b56c51b535024d46d6b5375163a6a40a196 | [log] [tgz] |
---|---|---|
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | Thu Apr 26 16:59:02 2018 -0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 27 14:35:24 2018 -0400 |
tree | 56ef91a153676cf598653f135975fabb58694018 | |
parent | 439ef0309cf4b743d76edc2abeca72b27ee1d996 [diff] |
sctp: allow unsetting sockopt MAXSEG RFC 6458 Section 8.1.16 says that setting MAXSEG as 0 means that the user is not limiting it, and not that it should set to the *current* maximum, as we are doing. This patch thus allow setting it as 0, effectively removing the user limit. Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>