[LU-15508] Lnet IPv6 work exposed memory leak in GSS layer Created: 01/Feb/22 Updated: 07/Jan/24 Resolved: 11/Jun/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.15.0 |
| Fix Version/s: | Lustre 2.16.0, Lustre 2.15.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | James A Simmons | Assignee: | Sebastien Buisson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | IPv6 | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
While testing a LU-10391 patch that touched LNetPrimaryNID() in the GSS code that patch was done incorrectly which lead to a failure path being exercised in the GSS layer that normally is not. The test failures showed an unknown memory leak which can be seen here.
|
| Comments |
| Comment by Gerrit Updater [ 03/Feb/22 ] |
|
|
| Comment by Gerrit Updater [ 04/Feb/22 ] |
|
"Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/46461 |
| Comment by Sebastien Buisson [ 04/Feb/22 ] |
|
Memory leak was due to garbage written to /proc/net/rpc/auth.sptlrpc.init/channel by lsvcgssd daemon in case it was getting badly formatted auth data from kernel space (as it happened with incorrect patchset 8 or 9 of https://review.whamcloud.com/43616, because only kernel space format was changed). |
| Comment by Gerrit Updater [ 11/Jun/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46461/ |
| Comment by Peter Jones [ 11/Jun/22 ] |
|
Landed for 2.16 |
| Comment by Gerrit Updater [ 17/Jun/22 ] |
|
"Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/47668 |