[S390] hvc_iucv: Limit rate of outgoing IUCV messages
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Fri, 9 Jan 2009 11:14:58 +0000 (12:14 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 9 Jan 2009 11:15:08 +0000 (12:15 +0100)
commitc45ce4b5774498ae919f6219c751e824a7196e2b
tree867a8db3c10faca35726fba34beafaa0fa5a994b
parent2dc184c0ba5c8661649ed2ca0b9e97ed49860cb5
[S390] hvc_iucv: Limit rate of outgoing IUCV messages

This patch introduces a send buffer to limit outgoing IUCV messages up to
a maximum of 25 IUCV messages per second.

If no communication path to a IUCV HVC terminal exist, any data written to
the terminal is discarded.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/char/hvc_iucv.c