Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Esteban Blanc
proview
Commits
0e356f99
Commit
0e356f99
authored
Feb 26, 2015
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcom, link requests from not configured nodes rejected
parent
d9acba5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/exe/rt_qmon/src/rt_qmon.c
src/exe/rt_qmon/src/rt_qmon.c
+6
-3
No files found.
src/exe/rt_qmon/src/rt_qmon.c
View file @
0e356f99
...
...
@@ -140,8 +140,8 @@ struct sHead {
pwr_tNodeId
nid
pwr_dPacked
;
/* Node identitiy. */
int
birth
pwr_dPacked
;
/* Time when link was born. */
mSeg
flags
pwr_dPacked
;
qdb_sAck
lack
pwr_dPacked
;
qdb_sAck
rack
pwr_dPacked
;
qdb_sAck
lack
;
qdb_sAck
rack
;
};
struct
sCseg
{
...
...
@@ -949,8 +949,11 @@ get_link (
thread_MutexLock
(
&
l
.
links
.
mutex
);
lp
=
tree_Find
(
&
sts
,
l
.
links
.
table
,
&
nid
);
#if 0
// Allow unconfigured links...
if (lp == NULL)
lp = new_link(nid, mp);
#endif
thread_MutexUnlock
(
&
l
.
links
.
mutex
);
...
...
@@ -1066,7 +1069,7 @@ import_thread ()
else
sp
->
lp
=
last_link
=
get_link
(
sp
->
head
.
nid
,
&
msg
);
if
(
sp
->
lp
==
NULL
)
{
errh_
Error
(
"get_link, returned NULL"
);
errh_
Warning
(
"Request from unknown node %s"
,
cdh_VolumeIdToString
(
0
,
sp
->
head
.
nid
,
0
,
0
)
);
continue
;
}
sp
->
c
.
action
=
eAction_import
;
...
...
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