Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
400de2c0
Commit
400de2c0
authored
Jun 20, 2005
by
Denis Vlasenko
Committed by
Jeff Garzik
Jun 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fealnx.c calls dev_kfree_skb from atomic context
Signed-off-by:
Andrew Morton
<
akpm@osdl.org
>
parent
1cc68ae0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/net/fealnx.c
drivers/net/fealnx.c
+1
-2
No files found.
drivers/net/fealnx.c
View file @
400de2c0
...
@@ -1423,8 +1423,7 @@ static void reset_tx_descriptors(struct net_device *dev)
...
@@ -1423,8 +1423,7 @@ static void reset_tx_descriptors(struct net_device *dev)
if
(
cur
->
skbuff
)
{
if
(
cur
->
skbuff
)
{
pci_unmap_single
(
np
->
pci_dev
,
cur
->
buffer
,
pci_unmap_single
(
np
->
pci_dev
,
cur
->
buffer
,
cur
->
skbuff
->
len
,
PCI_DMA_TODEVICE
);
cur
->
skbuff
->
len
,
PCI_DMA_TODEVICE
);
dev_kfree_skb
(
cur
->
skbuff
);
dev_kfree_skb_any
(
cur
->
skbuff
);
/* or dev_kfree_skb_irq(cur->skbuff); ? */
cur
->
skbuff
=
NULL
;
cur
->
skbuff
=
NULL
;
}
}
cur
->
status
=
0
;
cur
->
status
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment