]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: fix missing send up SCTP_SENDER_DRY_EVENT when subscribe it
authorWei Yongjun <yjwei@cn.fujitsu.com>
Sat, 2 Jul 2011 09:28:04 +0000 (09:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jul 2011 11:10:26 +0000 (04:10 -0700)
commitcbc403fd2068658d17deb91a84f5629a4d98ac27
treeda0f3af2817c235155efd813094710564a7d515a
parent5374b6b48bc41ce539cf855e68e176336a3af0f3
sctp: fix missing send up SCTP_SENDER_DRY_EVENT when subscribe it

We forgot to send up SCTP_SENDER_DRY_EVENT notification when
user app subscribes to this event, and there is no data to be
sent or retransmit.

This is required by the Socket API and used by the DTLS/SCTP
implementation.

Reported-by: Michael Tüxen <Michael.Tuexen@lurchi.franken.de>
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Tested-by: Robin Seggelmann <seggelmann@fh-muenster.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c