Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
84
Issues
84
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
5bd07e8e
Commit
5bd07e8e
authored
Aug 21, 2015
by
Alessandro Rubini
Committed by
Adam Wujek
Aug 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/wr-nic: trivial: fix a possible issue once every 64k timestamps
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
425fe06d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nic-core.c
kernel/wr_nic/nic-core.c
+1
-1
No files found.
kernel/wr_nic/nic-core.c
View file @
5bd07e8e
...
...
@@ -188,7 +188,7 @@ static int wrn_start_xmit(struct sk_buff *skb, struct net_device *dev)
desc
=
__wrn_alloc_tx_desc
(
wrn
);
id
=
(
wrn
->
id
++
)
&
0xffff
;
if
(
id
==
0
)
/* 0 cannot be used in the SPEC; irrelevant in WRS */
id
=
wrn
->
id
++
;
id
=
(
wrn
->
id
++
)
&
0xffff
;
spin_unlock_irqrestore
(
&
wrn
->
lock
,
flags
);
if
(
desc
<
0
)
/* error */
...
...
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