Thread (15 messages) flat view 15 messages, 3 authors, 2012-05-03

Re: [v2 PATCH 4/4] ixgbe: Fix use after free on module remove

From: David Miller <davem@davemloft.net>
Date: 2012-05-03 08:22:30

From: Alexander Duyck <redacted>
Date: Thu, 03 May 2012 00:19:14 -0700
While testing the TCP changes I had to fix an issue in order to be able to
load and unload the module.

The recent patch that added thermal sensor support added a use after free
bug on module unload with an 82598 adapter in the system.  To resolve the
issue I have updated the code so that when we free the info_kobj we set it
back to NULL.

I suspect there are likely other bugs present, but I will leave that for
another patch that can undergo more testing.

I am submitting this directly to net-next since this fixes a fairly serious
bug that will lock up the ixgbe module until the system is rebooted.

Signed-off-by: Alexander Duyck <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help