diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2014-01-22 19:36:57 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2014-01-22 19:36:57 +0100 |
commit | 28a625cbc2a14f17b83e47ef907b2658576a32aa (patch) | |
tree | 58d461b91f25a6499bd6404cd79faa4f9c185ff0 /fs/Kconfig | |
parent | d8ec26d7f8287f5788a494f56e8814210f0e64be (diff) | |
download | linux-28a625cbc2a14f17b83e47ef907b2658576a32aa.tar.bz2 |
fuse: fix pipe_buf_operations
Having this struct in module memory could Oops when if the module is
unloaded while the buffer still persists in a pipe.
Since sock_pipe_buf_ops is essentially the same as fuse_dev_pipe_buf_steal
merge them into nosteal_pipe_buf_ops (this is the same as
default_pipe_buf_ops except stealing the page from the buffer is not
allowed).
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/Kconfig')
0 files changed, 0 insertions, 0 deletions