Commit 4e04aa7
committed
mctp-ops: fix sysfs link-resolution check
We have the logic inverted when checking that the resolved
/sys/class/net/ path is within /sys.
Fixes: 3317571 ("mctpd: resolve sysfs paths for links")
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>1 parent 4186b5a commit 4e04aa7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments