Files
linux/drivers
Ivan Vecera 85aec73d59 tg3: avoid double-freeing of rx data memory
If build_skb fails the memory associated with the ring buffer is freed but
the ri->data member is not zeroed in this case. This causes a double-free
of this memory in tg3_free_rings->... path. The patch moves this block after
setting ri->data to NULL.
It would be nice to fix this bug also in stable >= v3.4 trees.

Cc: Nithin Nayak Sujir <nsujir@broadcom.com>
Cc: Michael Chan <mchan@broadcom.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-11-07 19:09:44 -05:00
..
2013-10-31 15:28:23 -07:00
2013-10-21 13:39:37 +02:00
2013-10-24 13:00:24 +11:00
2013-09-13 15:09:52 +02:00
2013-10-25 10:09:43 -07:00
2013-10-07 14:11:20 +02:00
2013-09-13 15:09:52 +02:00