[LU-12596] Return EHOSTUNREACH rather than EINVAL when adding route to unreachable gateway Created: 26/Jul/19 Updated: 27/Jul/19 Resolved: 26/Jul/19 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Chris Horn | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
My patch (https://review.whamcloud.com/#/c/35198/2) was flawed in that by returning EINVAL we will actually cause lnet_parse_route to fail which prevents lnet from loading. Instead we should maintain historic behavior and return EHOSTUNREACH so that lnet_parse_route can continue working. |
| Comments |
| Comment by Chris Horn [ 26/Jul/19 ] |
|
Whoops, accidentally opened a duplicate ticket for |