aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/dl2k.c
diff options
context:
space:
mode:
authorAndrew Morton2007-04-25 13:01:21 -0700
committerLinus Torvalds2007-04-25 13:50:55 -0700
commitcbc31a475a7f7748bd0a4e536533868e7cff8645 (patch)
treeaef103b0ba0076988b7d5f8c967351443cb785b6 /drivers/net/dl2k.c
parent5044eed48886b105a123333fe7ca97c6bd496120 (diff)
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 <icxcnika@mar.tar.cc> Cc: Peter Osterlund <petero2@telia.com> Cc: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/dl2k.c')
0 files changed, 0 insertions, 0 deletions