[qca-nss-ecm] Multicast fix for:

a) Ignoring multicast accel if ttl is less than two
b) Replaced nss_cmn_msg_init with ipv4/v6 msg_init

Change-Id: I993bd73655a2b66e4ae0b5ceb11b38a7acbf3de4
Signed-off-by: Shyam Sunder <ssunde@codeaurora.org>
diff --git a/ecm_tracker.c b/ecm_tracker.c
index 0ead78d..3770ceb 100644
--- a/ecm_tracker.c
+++ b/ecm_tracker.c
@@ -486,6 +486,11 @@
 		ip_hdr->ds = ipv4_get_dsfield(v4_hdr);
 
 		/*
+		 * TTL field
+		 */
+		ip_hdr->ttl = v4_hdr->ttl;
+
+		/*
 		 * Get the protocol and where the header info will be stored
 		 */
 		protocol = v4_hdr->protocol;
@@ -551,6 +556,11 @@
 	ip_hdr->ds = ipv6_get_dsfield(v6_hdr);
 
 	/*
+	 * hop_limit field
+	 */
+	ip_hdr->ttl = v6_hdr->hop_limit;
+
+	/*
 	 * Process headers until we run out of space, error, or we get the no next header marker for v6 (protocol 59).
 	 */
 	offset = 40;