[qca-nss-sfe] Use mark field from match entry
Mark field belongs to match entry not the connection entry.
Change-Id: Icb19138967d07cced18060d5845247fcc4c2541f
Signed-off-by: Ken Zhu <quic_guigenz@quicinc.com>
diff --git a/sfe_ipv4_tcp.c b/sfe_ipv4_tcp.c
index d33778f..e957259 100644
--- a/sfe_ipv4_tcp.c
+++ b/sfe_ipv4_tcp.c
@@ -689,7 +689,7 @@
* Mark outgoing packet
*/
if (unlikely(cm->flags & SFE_IPV4_CONNECTION_MATCH_FLAG_MARK)) {
- skb->mark = cm->connection->mark;
+ skb->mark = cm->mark;
}
/*