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)
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>

No differences found