Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
8db35b85
Commit
8db35b85
authored
Jun 08, 2004
by
Jesse Brandeburg
Committed by
Linus Torvalds
Jun 08, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] e1000: fix napi crash on ifdown during traffic
Signed off by: Jesse Brandeburg
parent
86b148ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/net/e1000/e1000_main.c
drivers/net/e1000/e1000_main.c
+2
-1
No files found.
drivers/net/e1000/e1000_main.c
View file @
8db35b85
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
char
e1000_driver_name
[]
=
"e1000"
;
char
e1000_driver_name
[]
=
"e1000"
;
char
e1000_driver_string
[]
=
"Intel(R) PRO/1000 Network Driver"
;
char
e1000_driver_string
[]
=
"Intel(R) PRO/1000 Network Driver"
;
char
e1000_driver_version
[]
=
"5.2.52-k
2
"
;
char
e1000_driver_version
[]
=
"5.2.52-k
4
"
;
char
e1000_copyright
[]
=
"Copyright (c) 1999-2004 Intel Corporation."
;
char
e1000_copyright
[]
=
"Copyright (c) 1999-2004 Intel Corporation."
;
/* e1000_pci_tbl - PCI Device ID Table
/* e1000_pci_tbl - PCI Device ID Table
...
@@ -2143,6 +2143,7 @@ e1000_clean(struct net_device *netdev, int *budget)
...
@@ -2143,6 +2143,7 @@ e1000_clean(struct net_device *netdev, int *budget)
if
(
work_done
<
work_to_do
||
!
netif_running
(
netdev
))
{
if
(
work_done
<
work_to_do
||
!
netif_running
(
netdev
))
{
netif_rx_complete
(
netdev
);
netif_rx_complete
(
netdev
);
e1000_irq_enable
(
adapter
);
e1000_irq_enable
(
adapter
);
return
0
;
}
}
return
(
work_done
>=
work_to_do
);
return
(
work_done
>=
work_to_do
);
...
...
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