aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-01-06 02:13:20 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:00:43 -0500
commitcf35f43e6e41b160d8dedd80a127210fd3be9ada (patch)
tree98489c87532e0d3014217fe756907339a4bd6285 /net/xfrm
parentad1b30b1c282bc8c726a9b123a1312a3930bcd42 (diff)
[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: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_state.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 65f5ea4ae4c1..2585e4b0d27f 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -2010,8 +2010,8 @@ void __init xfrm_state_init(void)
2010} 2010}
2011 2011
2012#ifdef CONFIG_AUDITSYSCALL 2012#ifdef CONFIG_AUDITSYSCALL
2013static inline void xfrm_audit_helper_sainfo(struct xfrm_state *x, 2013static void xfrm_audit_helper_sainfo(struct xfrm_state *x,
2014 struct audit_buffer *audit_buf) 2014 struct audit_buffer *audit_buf)
2015{ 2015{
2016 struct xfrm_sec_ctx *ctx = x->security; 2016 struct xfrm_sec_ctx *ctx = x->security;
2017 u32 spi = ntohl(x->id.spi); 2017 u32 spi = ntohl(x->id.spi);
@@ -2038,8 +2038,8 @@ static inline void xfrm_audit_helper_sainfo(struct xfrm_state *x,
2038 audit_log_format(audit_buf, " spi=%u(0x%x)", spi, spi); 2038 audit_log_format(audit_buf, " spi=%u(0x%x)", spi, spi);
2039} 2039}
2040 2040
2041static inline void xfrm_audit_helper_pktinfo(struct sk_buff *skb, u16 family, 2041static void xfrm_audit_helper_pktinfo(struct sk_buff *skb, u16 family,
2042 struct audit_buffer *audit_buf) 2042 struct audit_buffer *audit_buf)
2043{ 2043{
2044 struct iphdr *iph4; 2044 struct iphdr *iph4;
2045 struct ipv6hdr *iph6; 2045 struct ipv6hdr *iph6;