summaryrefslogtreecommitdiff
path: root/net/dsa/Makefile
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2016-01-13 16:32:57 +0300
committerIlya Dryomov <idryomov@gmail.com>2016-01-21 21:36:08 +0300
commitf6330cc1f04b7dcb84b572d402cdacf7e275a022 (patch)
treec6460bb777e8be11bf521ff5624fb4159b06c512 /net/dsa/Makefile
parent67645d7619738e51c668ca69f097cb90b5470422 (diff)
downloadlinux-f6330cc1f04b7dcb84b572d402cdacf7e275a022.tar.xz
libceph: clear messenger auth_retry flag if we fault
Commit 20e55c4cc758 ("libceph: clear messenger auth_retry flag when we authenticate") got us only half way there. We clear the flag if the second attempt succeeds, but it also needs to be cleared if that attempt fails, to allow for the exponential backoff to kick in. Otherwise, if ->should_authenticate() thinks our keys are valid, we will busy loop, incrementing auth_retry to no avail: process_connect ffff880079a63830 got BADAUTHORIZER attempt 1 process_connect ffff880079a63830 got BADAUTHORIZER attempt 2 process_connect ffff880079a63830 got BADAUTHORIZER attempt 3 process_connect ffff880079a63830 got BADAUTHORIZER attempt 4 process_connect ffff880079a63830 got BADAUTHORIZER attempt 5 ... Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'net/dsa/Makefile')
0 files changed, 0 insertions, 0 deletions