diff options
| author | Andrew Morton <[email protected]> | 2007-04-25 20:01:21 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-04-25 20:50:55 +0000 |
| commit | cbc31a475a7f7748bd0a4e536533868e7cff8645 (patch) | |
| tree | aef103b0ba0076988b7d5f8c967351443cb785b6 /security/selinux/include/class_to_string.h | |
| parent | cfq-iosched: fix alias + front merge bug (diff) | |
| download | kernel-cbc31a475a7f7748bd0a4e536533868e7cff8645.tar.gz kernel-cbc31a475a7f7748bd0a4e536533868e7cff8645.zip | |
packet: fix error handling
The packet driver is assuming (reasonably) that the (undocumented)
request.errors is an errno. But it is in fact some mysterious bitfield. When
things go wrong we return weird positive numbers to the VFS as pointers and it
goes oops.
Thanks to William Heimbigner for reporting and diagnosis.
(It doesn't oops, but this driver still doesn't work for William)
Cc: William Heimbigner <[email protected]>
Cc: Peter Osterlund <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/include/class_to_string.h')
0 files changed, 0 insertions, 0 deletions
