Patch "Tools: hv: KVP: Fix a bug in IPV6 subnet enumeration" has been added to the 3.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    Tools: hv: KVP: Fix a bug in IPV6 subnet enumeration

to the 3.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     tools-hv-kvp-fix-a-bug-in-ipv6-subnet-enumeration.patch
and it can be found in the queue-3.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From ed4bb9744b41d39ba35080c2390e201575121dc7 Mon Sep 17 00:00:00 2001
From: "K. Y. Srinivasan" <kys@xxxxxxxxxxxxx>
Date: Thu, 11 Jul 2013 12:03:31 -0700
Subject: Tools: hv: KVP: Fix a bug in IPV6 subnet enumeration

From: "K. Y. Srinivasan" <kys@xxxxxxxxxxxxx>

commit ed4bb9744b41d39ba35080c2390e201575121dc7 upstream.

Each subnet string needs to be separated with a semicolon. Fix this bug.

Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
 tools/hv/hv_kvp_daemon.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- a/tools/hv/hv_kvp_daemon.c
+++ b/tools/hv/hv_kvp_daemon.c
@@ -1016,9 +1016,10 @@ kvp_get_ip_info(int family, char *if_nam
 
 				if (sn_offset == 0)
 					strcpy(sn_str, cidr_mask);
-				else
+				else {
+					strcat((char *)ip_buffer->sub_net, ";");
 					strcat(sn_str, cidr_mask);
-				strcat((char *)ip_buffer->sub_net, ";");
+				}
 				sn_offset += strlen(sn_str) + 1;
 			}
 


Patches currently in stable-queue which might be from kys@xxxxxxxxxxxxx are

queue-3.10/tools-hv-kvp-fix-a-bug-in-ipv6-subnet-enumeration.patch
queue-3.10/drivers-hv-balloon-do-not-post-pressure-status-if-interrupted.patch
queue-3.10/drivers-hv-balloon-fix-a-bug-in-the-hot-add-code.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]