]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
sctp: fix strchange_flags name for Stream Change Event
authorXin Long <lucien.xin@gmail.com>
Sat, 3 Nov 2018 05:59:45 +0000 (13:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Nov 2018 02:38:08 +0000 (19:38 -0700)
commitfd82d61ba142f0b83463e47064bf5460aac57b6e
tree68a4695054f14e7cca85d14ef14895c821dfbb6b
parent1e2d3c4929b68ce9491ec317846634306a9eeaa4
sctp: fix strchange_flags name for Stream Change Event

As defined in rfc6525#section-6.1.3, SCTP_STREAM_CHANGE_DENIED
and SCTP_STREAM_CHANGE_FAILED should be used instead of
SCTP_ASSOC_CHANGE_DENIED and SCTP_ASSOC_CHANGE_FAILED.

To keep the compatibility, fix it by adding two macros.

Fixes: b444153fb5a6 ("sctp: add support for generating add stream change event notification")
Reported-by: Jianwen Ji <jiji@redhat.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/sctp.h