[qca-nss-drv] Fixed payload length for conn_sync_many_msg
Correct value of payload length is set in skb_put() for
conn_sync_many_msg.
Change-Id: Ia127ddbda568ad09ddb6d71a8062f55852de3a63
Signed-off-by: Suruchi Agarwal <suruchia@codeaurora.org>
diff --git a/nss_ipv6.c b/nss_ipv6.c
index 5a62d16..e40d092 100644
--- a/nss_ipv6.c
+++ b/nss_ipv6.c
@@ -265,7 +265,7 @@
/*
* Copy the message to our skb.
*/
- nim2 = (struct nss_ipv6_msg *)skb_put(nbuf, sizeof(struct nss_ipv6_msg));
+ nim2 = (struct nss_ipv6_msg *)skb_put(nbuf, size);
memcpy(nim2, nim, sizeof(struct nss_ipv6_msg));
/*