moved increment of buf_int_count to beginning of comedi_buf_put*() to eliminate race
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 14 Apr 2002 02:43:16 +0000 (02:43 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 14 Apr 2002 02:43:16 +0000 (02:43 +0000)
commit660ac5590ef48f16a18e936d3252f17f8d1783d7
tree215e2823b162b32ea5394e978883f7ad367dea83
parent2c9d7b02cc552a0a999777db7e05152d21fca001
moved increment of buf_int_count to beginning of comedi_buf_put*() to eliminate race
with buffer overrun check.  Added setting of COMEDI_CB_BLOCK to comedi_buf_put() so
it doesn't need to be set in drivers
include/linux/comedidev.h