diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-12-22 17:42:36 +0000 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-12-22 22:53:06 -0500 |
commit | 51bf2976b55d07f9daae9697a0a3ac9f58abcedc (patch) | |
tree | b1db201fb4a4bd1103cccd64842e861f37e96361 /net/core | |
parent | 7fd71e58b038a7244c2ac1ee579c43947f3968c4 (diff) |
asix fixes
* usb_control_message() to/from stack (breaks on e.g. arm); some
places did kmalloc() for buffer, some just worked from stack.
Added kmalloc()/memcpy()/kfree() in asix_read_cmd()/asix_write_cmd(),
removed that crap from callers.
* Fixed a leak in ax88172_bind() - on success it forgot to kfree() the
buffer.
* Endianness bug in ax88178_bind() - we read a word from eeprom and work with
it without converting to host-endian
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions