• Zhu Yi's avatar
    [PATCH] ipw2200: fix error log offset calculation · 3b26b110
    Zhu Yi authored
    This fixes a slab corruption issue in the ipw2200 driver: it essentially
    multiplied the error log number _twice_ by the size of the error element
    entry (once explicitly in the code, and once implicitly as part of the
    regular pointer arithmetic).
    
    Cc: Henrik Brix Andersen <brix@gentoo.org>
    Cc: Bernard Blackham <bernard@blackham.com.au>
    Cc: Zilvinas Valinskas <zilvinas@gemtek.lt>
    Cc: Pekka Enberg <penberg@cs.helsinki.fi>
    Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    --
    3b26b110
ipw2200.c 302 KB