Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
d9d5dcc8
Commit
d9d5dcc8
authored
Feb 18, 2008
by
Christian Borntraeger
Committed by
Jeff Garzik
Feb 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
virtio_net: Fix oops on early interrupts - introduced by virtio reset code
Signed-off-by:
Jeff Garzik
<
jeff@garzik.org
>
parent
7a7d23da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/net/virtio_net.c
drivers/net/virtio_net.c
+1
-1
No files found.
drivers/net/virtio_net.c
View file @
d9d5dcc8
...
...
@@ -361,6 +361,7 @@ static int virtnet_probe(struct virtio_device *vdev)
netif_napi_add
(
dev
,
&
vi
->
napi
,
virtnet_poll
,
napi_weight
);
vi
->
dev
=
dev
;
vi
->
vdev
=
vdev
;
vdev
->
priv
=
vi
;
/* We expect two virtqueues, receive then send. */
vi
->
rvq
=
vdev
->
config
->
find_vq
(
vdev
,
0
,
skb_recv_done
);
...
...
@@ -395,7 +396,6 @@ static int virtnet_probe(struct virtio_device *vdev)
}
pr_debug
(
"virtnet: registered device %s
\n
"
,
dev
->
name
);
vdev
->
priv
=
vi
;
return
0
;
unregister:
...
...
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