]>
Commit | Line | Data |
---|---|---|
82094b55 AF |
1 | From: Gerald Schaefer <geraldsc@de.ibm.com> |
2 | Subject: iucv: use correct output register in iucv_query_maxconn() | |
3 | References: bnc#533267,LTC#56116 | |
4 | ||
5 | Symptom: The system log contains kernel messages reporting that the | |
6 | iucv "pathid" is greater than "max_connections". | |
7 | Problem: When querying the maximum number of iucv connections, the | |
8 | wrong output register is used. | |
9 | Solution: Use the correct output register when querying the maximum | |
10 | number of IUCV connections. | |
11 | ||
12 | Acked-by: John Jolly <jjolly@suse.de> | |
13 | --- | |
14 | net/iucv/iucv.c | 2 +- | |
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
16 | ||
17 | --- a/net/iucv/iucv.c | |
18 | +++ b/net/iucv/iucv.c | |
19 | @@ -334,7 +334,7 @@ static int iucv_query_maxconn(void) | |
20 | " srl %0,28\n" | |
21 | : "=d" (ccode), "+d" (reg0), "+d" (reg1) : : "cc"); | |
22 | if (ccode == 0) | |
23 | - iucv_max_pathid = reg0; | |
24 | + iucv_max_pathid = reg1; | |
25 | kfree(param); | |
26 | return ccode ? -EPERM : 0; | |
27 | } |