ipsec: remove redundant code in ipsec_tun_in trace

This patch removes redundant sa index value in
format_ipsec_tun_protect_input_trace() as sa index value already added
by format_ipsec4_tunnel_kv().

Type: fix

Change-Id: I7834bda57ba0f7cfe5084b671f6f7da0749ba64d
Signed-off-by: Garvit <gvarshney@marvell.com>
This commit is contained in:
Garvit
2024-08-26 12:13:10 +05:30
committed by Fan Zhang
parent 460dee56e7
commit 1f7d14c810

View File

@ -60,8 +60,8 @@ format_ipsec_tun_protect_input_trace (u8 * s, va_list * args)
s = format (s, "IPSec: %U seq %u",
format_ipsec6_tunnel_kv, &t->kv6, t->seq);
else
s = format (s, "IPSec: %U seq %u sa %d",
format_ipsec4_tunnel_kv, &t->kv4, t->seq);
s =
format (s, "IPSec: %U seq %u", format_ipsec4_tunnel_kv, &t->kv4, t->seq);
return s;
}