]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sctp: implement event notification SCTP_SENDER_DRY_EVENT
authorWei Yongjun <yjwei@cn.fujitsu.com>
Sun, 17 Apr 2011 17:29:03 +0000 (17:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2011 17:35:44 +0000 (10:35 -0700)
commite1cdd553d482ceb083fac5e544e8702fccefbfd6
treeb2b0f0bdc7a90c03a91bba6289143ae0056c651a
parentee916fd0fdb8f43dacaab431de3e1f7225039d72
sctp: implement event notification SCTP_SENDER_DRY_EVENT

This patch implement event notification SCTP_SENDER_DRY_EVENT.
SCTP Socket API Extensions:

  6.1.9. SCTP_SENDER_DRY_EVENT

  When the SCTP stack has no more user data to send or retransmit, this
  notification is given to the user. Also, at the time when a user app
  subscribes to this event, if there is no data to be sent or
  retransmit, the stack will immediately send up this notification.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/sm.h
include/net/sctp/ulpevent.h
include/net/sctp/user.h
net/sctp/sm_statefuns.c
net/sctp/sm_statetable.c
net/sctp/ulpevent.c