diff mbox

[linux-cifs-client] Fix missing DFS referral increment

Message ID 1264050044.3955.92.camel@eos (mailing list archive)
State New, archived
Headers show

Commit Message

Darren Williams Jan. 21, 2010, 5 a.m. UTC
None
diff mbox

Patch

--- linux-2.6.31.6.new/fs/cifs/cifssmb.c.orig	2009-11-26 01:47:05.000000000 +1100
+++ linux-2.6.31.6.new/fs/cifs/cifssmb.c	2009-11-26 01:32:34.000000000 +1100
@@ -3952,7 +3952,7 @@  parse_DFS_referrals(TRANSACTION2_GET_DFS
 	}
 
 	/* collect neccessary data from referrals */
-	for (i = 0; i < *num_of_nodes; i++) {
+	for (i = 0; i < *num_of_nodes; i++, ref++) {
 		char *temp;samba-technical
 		int max_len;
 		struct dfs_info3_param *node = (*target_nodes)+i;