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 305728 Details for
Bug 446962
Access to firewire devices is still allowed after the device is removed from the bus.
[?]
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]
Patch against 2.6.25
fw-patch2 (text/plain), 1.21 KB, created by
Jay Fenlason
on 2008-05-16 19:25:39 UTC
(
hide
)
Description:
Patch against 2.6.25
Filename:
MIME Type:
Creator:
Jay Fenlason
Created:
2008-05-16 19:25:39 UTC
Size:
1.21 KB
patch
obsolete
>--- linux-2.6.25/drivers/firewire/fw-cdev.c.orig 2008-05-16 11:03:18.000000000 -0400 >+++ linux-2.6.25/drivers/firewire/fw-cdev.c 2008-05-16 11:05:29.000000000 -0400 >@@ -113,6 +113,11 @@ static int fw_device_op_open(struct inod > if (device == NULL) > return -ENODEV; > >+ if (fw_device_is_shutdown(device)) { >+ fw_device_put(device); >+ return -ENODEV; >+ } >+ > client = kzalloc(sizeof(*client), GFP_KERNEL); > if (client == NULL) { > fw_device_put(device); >@@ -894,6 +899,9 @@ fw_device_op_ioctl(struct file *file, > { > struct client *client = file->private_data; > >+ if (fw_device_is_shutdown(client->device)) >+ return -ENODEV; >+ > return dispatch_ioctl(client, cmd, (void __user *) arg); > } > >@@ -904,6 +912,9 @@ fw_device_op_compat_ioctl(struct file *f > { > struct client *client = file->private_data; > >+ if (fw_device_is_shutdown(client->device)) >+ return -ENODEV; >+ > return dispatch_ioctl(client, cmd, compat_ptr(arg)); > } > #endif >@@ -915,6 +926,9 @@ static int fw_device_op_mmap(struct file > unsigned long size; > int page_count, retval; > >+ if (fw_device_is_shutdown(client->device)) >+ return -ENODEV; >+ > /* FIXME: We could support multiple buffers, but we don't. */ > if (client->buffer.pages != NULL) > return -EBUSY;
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 446962
: 305728