Re: [E1000-devel] [PATCH] ixgbevf: don't release the soft entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03-01-2013 星期五 07:56, Jeff Kirsher wrote:
> On Thu, 2013-02-28 at 15:02 +0800, xunleer wrote:
>> This patch fix an oops issue caused by NULL pointer. The call stack
>> may be like this:
>> [<ffffffffa04dae0b>] ixgbevf_down+0x10b/0x300 [ixgbevf]
>> [<ffffffffa04dc6bd>] ixgbevf_open+0x27d/0x2b0 [ixgbevf]
>> [<ffffffff813866b7>] __dev_open+0xa7/0x100
>> [<ffffffff81386745>] dev_open+0x35/0x60
>>
>> When opening the net device, we are trying to request msix irqs,
>> if failed, the error procedure released the msix entries and disabled
>> the MSI-X interrupts in pci level. However, if the request is not
>> succeeded, the ixgbevf_down is called, it synchronizes the irq by
>> referring to the msix_entries, it may cause oops as to NULL pointer
>> references.
>>
>> The msix_entries may be allocated in probe procedure and be released
>> in remove routine may be the best way. So we removed this error
>> processing action. Then we may try to reopen the device, all we must
>> reload the driver.
>>
>> Signed-off-by: Li Xun <xunleer.li@xxxxxxxxxx>
>> ---
>>  drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 3 ---
>>  1 file changed, 3 deletions(-) 
> 
> Thanks, I have applied this to my ixgbevf queue of patches and will push
> upstream once validation looks it over.  I see you added stable to the
> CC, how far back in the stable tree's does this patch apply?
> 
We checked the ixgbevf version 2.0.0, 2.2.0, 2.6.0 and 2.7.12, all these
drivers have this problem, so all the stable trees which contain these drivers
have the same issue. However, this patch is just applied to ixgbevf version
2.7.12. So this patch must applied to tree linux-3.8.1.
The fix must also applied to other trees.
waiting for your advice, thanks!

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]