]> 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)
commit45a152a20328a8e5dd014c4837fa137104312f04
treeda0f3af2817c235155efd813094710564a7d515a
parent5716f90e32ea03fdfde6ed5098cc8868f098e868
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