diff options
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | 2016-01-22 20:29:49 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-25 06:43:21 (GMT) |
commit | 27f7ed2b11d42ab6d796e96533c2076ec220affc (patch) | |
tree | fb1232a621d48ec214484cad838278e679f0ea88 /net/ipv4/Kconfig | |
parent | facc432faa59414bd7c60c307ff1645154a66c98 (diff) | |
download | linux-27f7ed2b11d42ab6d796e96533c2076ec220affc.tar.xz |
sctp: allow setting SCTP_SACK_IMMEDIATELY by the application
This patch extends commit b93d6471748d ("sctp: implement the sender side
for SACK-IMMEDIATELY extension") as it didn't white list
SCTP_SACK_IMMEDIATELY on sctp_msghdr_parse(), causing it to be
understood as an invalid flag and returning -EINVAL to the application.
Note that the actual handling of the flag is already there in
sctp_datamsg_from_user().
https://tools.ietf.org/html/rfc7053#section-7
Fixes: b93d6471748d ("sctp: implement the sender side for SACK-IMMEDIATELY extension")
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/Kconfig')
0 files changed, 0 insertions, 0 deletions