summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-common.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2019-01-21 19:39:34 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-25 03:13:57 +0100
commit2e6dc4d95110becfe0ff4c3d4749c33ea166e9e7 (patch)
tree46760a0fe26bdfc8fcba0805c95c7918e7880516 /include/media/v4l2-common.h
parentip_tunnel: Make none-tunnel-dst tunnel port work with lwtunnel (diff)
downloadlinux-2e6dc4d95110becfe0ff4c3d4749c33ea166e9e7.tar.xz
linux-2e6dc4d95110becfe0ff4c3d4749c33ea166e9e7.zip
sctp: improve the events for sctp stream reset
This patch is to improve sctp stream reset events in 4 places: 1. In sctp_process_strreset_outreq(), the flag should always be set with SCTP_STREAM_RESET_INCOMING_SSN instead of OUTGOING, as receiver's in stream is reset here. 2. In sctp_process_strreset_outreq(), move up SCTP_STRRESET_ERR_WRONG_SSN check, as the reset has to succeed after reconf_timer stops for the in stream reset request retransmission. 3. In sctp_process_strreset_inreq(), no event should be sent, as no in or out stream is reset here. 4. In sctp_process_strreset_resp(), SCTP_STREAM_RESET_INCOMING_SSN or OUTGOING event should always be sent for stream reset requests, no matter it fails or succeeds to process the request. Fixes: 810544764536 ("sctp: implement receiver-side procedures for the Outgoing SSN Reset Request Parameter") Fixes: 16e1a91965b0 ("sctp: implement receiver-side procedures for the Incoming SSN Reset Request Parameter") Fixes: 11ae76e67a17 ("sctp: implement receiver-side procedures for the Reconf Response Parameter") Reported-by: Ying Xu <yinxu@redhat.com> Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/media/v4l2-common.h')
0 files changed, 0 insertions, 0 deletions