Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 889190 Details for
Bug 1087813
suspicious RCU usage in drivers/net/ethernet/broadcom/cnic.c
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
RCU Lockdep Issue
0001-cnic-Fix-RCU-dereference-usage.patch (text/plain), 942 bytes, created by
Tej Parkash
on 2014-04-24 06:14:26 UTC
(
hide
)
Description:
RCU Lockdep Issue
Filename:
MIME Type:
Creator:
Tej Parkash
Created:
2014-04-24 06:14:26 UTC
Size:
942 bytes
patch
obsolete
>From 9035e99a66396b8dfa654f7e162cf09b429cb2bb Mon Sep 17 00:00:00 2001 >From: Tej Parkash <tej.parkash@qlogic.com> >Date: Mon, 21 Apr 2014 14:48:16 +0530 >Subject: [PATCH] cnic: Fix RCU dereference usage > >Signed-off-by: Tej Parkash <tej.parkash@qlogic.com> >--- > drivers/net/ethernet/broadcom/cnic.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/drivers/net/ethernet/broadcom/cnic.c b/drivers/net/ethernet/broadcom/cnic.c >index 09f3fef..4589fdd 100644 >--- a/drivers/net/ethernet/broadcom/cnic.c >+++ b/drivers/net/ethernet/broadcom/cnic.c >@@ -573,7 +573,7 @@ static int cnic_register_device(struct cnic_dev *dev, int ulp_type, > mutex_unlock(&cnic_lock); > return -EAGAIN; > } >- if (rcu_dereference(cp->ulp_ops[ulp_type])) { >+ if (rcu_access_pointer(cp->ulp_ops[ulp_type])) { > pr_err("%s: Type %d has already been registered to this device\n", > __func__, ulp_type); > mutex_unlock(&cnic_lock); >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1087813
: 889190