mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
[NETFILTER] xt_policy.c: kill some bloat
net/netfilter/xt_policy.c: policy_mt | -906 1 function changed, 906 bytes removed, diff: -906 net/netfilter/xt_policy.c: match_xfrm_state | +427 1 function changed, 427 bytes added, diff: +427 net/netfilter/xt_policy.o: 2 functions changed, 427 bytes added, 906 bytes removed, diff: -479 Alternatively, this could be done by combining identical parts of the match_policy_in/out() Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c95aaf9af5
commit
b9aed45507
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ xt_addr_cmp(const union xt_policy_addr *a1, const union xt_policy_addr *m,
|
|||
return false;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
static bool
|
||||
match_xfrm_state(const struct xfrm_state *x, const struct xt_policy_elem *e,
|
||||
unsigned short family)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue