Jan Dakinevich 772a73692e 9pfs: check the size of transport buffer before marshaling
v9fs_do_readdir_with_stat() should check for a maximum buffer size
before an attempt to marshal gathered data. Otherwise, buffers assumed
as misconfigured and the transport would be broken.

The patch brings v9fs_do_readdir_with_stat() in conformity with
v9fs_do_readdir() behavior.

Signed-off-by: Jan Dakinevich <jan.dakinevich@gmail.com>
[groug, regression caused my commit 8d37de41cab1 # 2.10]
Signed-off-by: Greg Kurz <groug@kaod.org>
2017-09-20 08:48:52 +02:00
..
2016-10-04 13:28:07 +01:00
2017-09-19 14:09:34 +02:00
2017-09-08 16:15:17 +03:00
2017-08-02 18:30:13 -03:00
2017-09-08 09:30:55 +10:00
2017-09-19 14:09:34 +02:00
2017-09-15 19:00:16 +01:00
2016-05-18 15:04:27 +03:00
2017-09-19 14:09:34 +02:00
2016-01-29 15:07:25 +00:00
2017-09-04 18:41:01 +01:00
2017-08-31 12:29:07 +02:00
2016-10-28 18:17:24 +03:00
2017-09-15 10:29:48 +10:00
2017-08-30 18:23:25 +02:00