Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'nfs-for-3.4-5' of git://git.linux-nfs.org/projects/trondmy/linux-nfs

Pull a NFS client bugfix from Trond Myklebust:
"Fix for the NFSv4 security negotiation: ensure that the security
negotiation tries all registered security flavours"

* tag 'nfs-for-3.4-5' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
auth_gss: the list of pseudoflavors not being parsed correctly

+4 -3
+4 -3
net/sunrpc/auth_gss/gss_mech_switch.c
··· 242 242 int gss_mech_list_pseudoflavors(rpc_authflavor_t *array_ptr) 243 243 { 244 244 struct gss_api_mech *pos = NULL; 245 - int i = 0; 245 + int j, i = 0; 246 246 247 247 spin_lock(&registered_mechs_lock); 248 248 list_for_each_entry(pos, &registered_mechs, gm_list) { 249 - array_ptr[i] = pos->gm_pfs->pseudoflavor; 250 - i++; 249 + for (j=0; j < pos->gm_pf_num; j++) { 250 + array_ptr[i++] = pos->gm_pfs[j].pseudoflavor; 251 + } 251 252 } 252 253 spin_unlock(&registered_mechs_lock); 253 254 return i;