Bug 511013

Summary: Fix locking method in several network drivers to use irq-safe locking and avoid crash
Product: [Fedora] Fedora Reporter: g.trentalancia
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 10CC: itamar, kernel-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.6.27.29-170.2.78 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-09 19:09:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Kernel patch to fix locking method in some network interface drivers none

Description g.trentalancia 2009-07-13 08:57:39 UTC
Created attachment 351449 [details]
Kernel patch to fix locking method in some network interface drivers

Description of problem:
The mkiss driver crashes because of bottom-half locking method.

Version-Release number of selected component (if applicable):
2.6.27.25-170.2.72.fc10 (actually all kernel versions up to and including 2.6.30.1 are affected)

How reproducible:
Use the mkiss serial driver (for example with a FTDI USB to serial converter)

Steps to Reproduce:
1. load the mkiss kernel module
2. attach a kiss interface (kissattach)
3. change the kiss interface parameters (kissparms) or try sending packets trough it
  
Actual results:
The driver crashes and kernel oops are generated (see, for example, http://www.kerneloops.org/submitresult.php?number=529746).

Expected results:
The driver should not crash.

Additional info:
The attached patch has been provided by the module maintainer and it fixes the problem.

Comment 1 g.trentalancia 2009-08-09 19:09:34 UTC
Fixed with kernel version 2.6.27.29-170.2.78.