diff options
author | Christoph Hellwig <[email protected]> | 2018-04-09 14:57:56 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2018-05-02 19:52:59 +0200 |
commit | 75321b50a37a5ba612125a04bfc9e43e3da5b305 (patch) | |
tree | c7a3e25787f7350fc3b48350de5b3622ac265329 /net/unix/sysctl_net_unix.c | |
parent | c213dc826c591cec9e1a458f17ae474af6c8e00c (diff) |
aio: sanitize ki_list handling
Instead of handcoded non-null checks always initialize ki_list to an
empty list and use list_empty / list_empty_careful on it. While we're
at it also error out on a double call to kiocb_set_cancel_fn instead
of ignoring it.
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Jeff Moyer <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions