[qca-nss-clients] fix compilation error in netlink

With the recent changes in IPsec Manager messaging
there are compilation errors in Netlink layer.

Change-Id: I1d0c5712deaa0204628d0b50a9845bb20b825eec
Signed-off-by: Arunkumar T <athand@codeaurora.org>
diff --git a/netlink/nss_nlipv4.c b/netlink/nss_nlipv4.c
index eb275ad..cc54c0c 100755
--- a/netlink/nss_nlipv4.c
+++ b/netlink/nss_nlipv4.c
@@ -1,6 +1,6 @@
 /*
  **************************************************************************
- * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
  * above copyright notice and this permission notice appear in all copies.
@@ -296,13 +296,13 @@
 	 * update flow and return interface numbers. Handle Ipsec interfaces seperately.
 	 */
 	if (flow_dev->type == NSS_IPSEC_ARPHRD_IPSEC) {
-		conn->flow_interface_num = nss_ipsec_get_interface(nss_ipsec_get_context());
+		conn->flow_interface_num = nss_ipsec_get_data_interface();
 	} else {
 		conn->flow_interface_num = nss_cmn_get_interface_number_by_dev(flow_dev);
 	}
 
 	if (return_dev->type == NSS_IPSEC_ARPHRD_IPSEC) {
-		conn->flow_interface_num = nss_ipsec_get_interface(nss_ipsec_get_context());
+		conn->flow_interface_num = nss_ipsec_get_data_interface();
 	} else {
 		conn->return_interface_num = nss_cmn_get_interface_number_by_dev(return_dev);
 	}
diff --git a/netlink/nss_nlipv6.c b/netlink/nss_nlipv6.c
index d59b2f9..56de2fc 100644
--- a/netlink/nss_nlipv6.c
+++ b/netlink/nss_nlipv6.c
@@ -1,6 +1,6 @@
 /*
  **************************************************************************
- * Copyright (c) 2016, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
  * above copyright notice and this permission notice appear in all copies.
@@ -305,13 +305,13 @@
 	 * update flow and return interface numbers. Handle Ipsec interfaces seperately.
 	 */
 	if (flow_dev->type == NSS_IPSEC_ARPHRD_IPSEC) {
-		conn->flow_interface_num = nss_ipsec_get_interface(nss_ipsec_get_context());
+		conn->flow_interface_num = nss_ipsec_get_data_interface();
 	} else {
 		conn->flow_interface_num = nss_cmn_get_interface_number_by_dev(flow_dev);
 	}
 
 	if (return_dev->type == NSS_IPSEC_ARPHRD_IPSEC) {
-		conn->flow_interface_num = nss_ipsec_get_interface(nss_ipsec_get_context());
+		conn->flow_interface_num = nss_ipsec_get_data_interface();
 	} else {
 		conn->return_interface_num = nss_cmn_get_interface_number_by_dev(return_dev);
 	}