Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf35f43e authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by David S. Miller
Browse files

[XFRM]: Kill some bloat



net/xfrm/xfrm_state.c:
  xfrm_audit_state_delete          | -589
  xfrm_replay_check                | -542
  xfrm_audit_state_icvfail         | -520
  xfrm_audit_state_add             | -589
  xfrm_audit_state_replay_overflow | -523
  xfrm_audit_state_notfound_simple | -509
  xfrm_audit_state_notfound        | -521
 7 functions changed, 3793 bytes removed, diff: -3793

net/xfrm/xfrm_state.c:
  xfrm_audit_helper_pktinfo | +522
  xfrm_audit_helper_sainfo  | +598
 2 functions changed, 1120 bytes added, diff: +1120

net/xfrm/xfrm_state.o:
 9 functions changed, 1120 bytes added, 3793 bytes removed, diff: -2673

Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ad1b30b1
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2010,7 +2010,7 @@ void __init xfrm_state_init(void)
}

#ifdef CONFIG_AUDITSYSCALL
static inline void xfrm_audit_helper_sainfo(struct xfrm_state *x,
static void xfrm_audit_helper_sainfo(struct xfrm_state *x,
				     struct audit_buffer *audit_buf)
{
	struct xfrm_sec_ctx *ctx = x->security;
@@ -2038,7 +2038,7 @@ static inline void xfrm_audit_helper_sainfo(struct xfrm_state *x,
	audit_log_format(audit_buf, " spi=%u(0x%x)", spi, spi);
}

static inline void xfrm_audit_helper_pktinfo(struct sk_buff *skb, u16 family,
static void xfrm_audit_helper_pktinfo(struct sk_buff *skb, u16 family,
				      struct audit_buffer *audit_buf)
{
	struct iphdr *iph4;