sctp: implement enqueue_event for sctp_stream_interleave
authorXin Long <lucien.xin@gmail.com>
Fri, 8 Dec 2017 13:04:05 +0000 (21:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Dec 2017 16:23:05 +0000 (11:23 -0500)
commit9162e0ed9e238c1f1d738cb36ee59d96b097f8e1
treee3e041e69f593a7cc0aac0beeae519c058b1c17d
parentbd4d627dbd5adb8130d5c54a4135d89f45e41905
sctp: implement enqueue_event for sctp_stream_interleave

enqueue_event is added as a member of sctp_stream_interleave, used to
enqueue either data, idata or notification events into user socket rx
queue.

It replaces sctp_ulpq_tail_event used in the other places with
enqueue_event.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/stream_interleave.h
net/sctp/associola.c
net/sctp/chunk.c
net/sctp/sm_sideeffect.c
net/sctp/socket.c
net/sctp/stream_interleave.c