[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:
Duplicate
duplicates LU-12595 Attempt to add route using non-local ... Resolved
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 LU-12595

Generated at Sat Feb 10 02:53:59 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.