Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matisse
android_kernel_samsung_matisse
Commits
400de2c0
Commit
400de2c0
authored
20 years ago
by
Denis Vlasenko
Committed by
Jeff Garzik
20 years ago
Browse files
Options
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
Hide 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)
if
(
cur
->
skbuff
)
{
pci_unmap_single
(
np
->
pci_dev
,
cur
->
buffer
,
cur
->
skbuff
->
len
,
PCI_DMA_TODEVICE
);
dev_kfree_skb
(
cur
->
skbuff
);
/* or dev_kfree_skb_irq(cur->skbuff); ? */
dev_kfree_skb_any
(
cur
->
skbuff
);
cur
->
skbuff
=
NULL
;
}
cur
->
status
=
0
;
...
...
This diff is collapsed.
Click to expand it.
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