Revision d261154057c27f6c1d256b6198b0ad08733f1758 authored by Ian Abbott on 19 May 2010, 16:22:41 UTC, committed by Greg Kroah-Hartman on 04 June 2010, 20:38:53 UTC
For write(), any data copied to the data buffer after the previously
set up streaming acquisition command has finished won't be used, but a
non-empty write() does not currently return 0 (or -EPIPE on error) after
the command has finished until the data buffer has been filled up.
Change this behavior to return 0 (or -EPIPE) any time after the command
has finished, without bothering to fill up the buffer with more useless
data.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

1 parent ee4063f
History
File Mode Size
netfilter
Kconfig -rw-r--r-- 1.6 KB
Makefile -rw-r--r-- 270 bytes
README -rw-r--r-- 299 bytes
TODO -rw-r--r-- 1.2 KB
af_decnet.c -rw-r--r-- 53.7 KB
dn_dev.c -rw-r--r-- 31.4 KB
dn_fib.c -rw-r--r-- 18.0 KB
dn_neigh.c -rw-r--r-- 15.6 KB
dn_nsp_in.c -rw-r--r-- 21.1 KB
dn_nsp_out.c -rw-r--r-- 17.5 KB
dn_route.c -rw-r--r-- 43.9 KB
dn_rules.c -rw-r--r-- 5.3 KB
dn_table.c -rw-r--r-- 20.0 KB
dn_timer.c -rw-r--r-- 3.1 KB
sysctl_net_decnet.c -rw-r--r-- 7.2 KB

README

back to top